Create a Clade Project
For this exercise 10 Dehalococcoides genomes with the file extension fasta
should be in the directory $HOME/miga_genomes/dehalo
. This will be the case if you followed the instructions in the section Get Example Data. Otherwise you will have to make adjustments to the commands below.
This exercise takes approximately three and a half minutes to run interactively.
If you need to, log in and start MIGA CLI using the method given in on AWS (Setup a MiGA Instance).
Create a directory for your project in the miga-data
directory, move into it and initialize a clade project:
The -t
argument is needed to specify what kind of project you are running. Acceptable types are :
genomes
for the genomes from isolatesclade
for genomes of closely related species
For this example, we are using closely related genomes (expected ANI >= 90%), so we choose clade
.
It is not necessary to add a reference database to a clade project. The genomes submitted will be compared among themselves.
Add your data set to the MiGA project. In doing this, turn off mytaxa scan, as in the command below. Here the -t flag specifies that the data being uploaded are genomes and the -i flag specifies that they are already assembled.
Launch the daemon to start MiGA processing your data:
The shutdown-when-done argument automatically stops the daemon when processing is complete. After the job starts, you can display the project information with the command:
Also after the job starts, you can display the dataset information:
And you can monitor its progress by entering:
which should return something like:
When all entries in the stats column read "done," the project is finished.
If you used the ---shutdown_when_done
flag, you can also check if the project is done by listing the contents of the daemon directory:
If a file ending in pid
is present, the daemon is still running.
If you did not use the --shutdown-when-done arguement when starting the daemon, you can stop it with:
See the section "Exploring Results" for how to access the results of your clade project.
Last updated