I just came back from a very interesting FAANG workshop in Prague, three days of talks about the functional annotation of animal genomes. Thanks a lot to the organizers!
More information about the even can be found here.
After the event we still had some time to discover the city.
Today I noticed for the first time the concept of submodules in git. While cloning a repository from GitHub I noticed that one folder in it remained empty. After having a closer look, I noticed a reference to another repository tree like this:
Here, the folder htslib is actually from a tree in a different repository. After I cloned the repository like this (I forked it before):
git clone https://github.com/fischuu/SE-MEI.git
the folder htslib remained empty. That is because files from submodules are not fetched by default. This needs to be done separately by first initializing the submodules (first, cd into the cloned repository)
git submodule init
and then update the files from it
git submodule update
After these steps, the repository should be complete. However, instead of initializing the submodule separately, there is also a shortcut to fetch them all in one step by adding an additional parameter to the cloning like this: