Build a clade collection
Last updated
Last updated
In this tutorial, we will create a clade project including all the genomes available for a species in RefSeq as well as any additional genomes you may have using MiGA alone. If you want to explore a more manual approach using bash
, see the . We will use Escherichia coli as the target species, but you can use any species (or any taxon) you want.
There are different stages of completeness defined in the NCBI Genome database, and you may want to include only some cases depending on your analysis. The stages (from higher to lower quality) are:
Complete: Genomes including all replicons in the organism(s) sequenced.
Chromosome: Genomes with complete chromosome (but missing other replicons).
Scaffold: Draft genomes with scaffold status.
Contig: Draft genomes with contig status.
In this example, we'll skip the draft genomes. However, if you want all of them, simply use the --all
option of miga ncbi_get
.
Re-running and updating: If the following code fails at any point, for example due to a network interruption, you can simply re-run it, and it will take it from where it failed.
Note that you can change the value of -T
from "Escherichia coli"
to any other species name, or even taxa of any rank such as genus or family.
It is strongly recommended to use an to increase the number of allowed requests. Once you obtain one, you can pass it as an argument:
Or you can set it globally as an environmental variable before running miga
:
If you have any unreleased genomes, you can simply add them to the same project to be processed together with those publicly available. You can initialize datasets at different points, see . For the purposes of this tutorial, we'll assume that you have raw coupled reads from two sequencing lanes (1 and 2) in Gzipped FastQ files:
Now that your data is ready, you can fire up the daemon to start processing the data. For additional details, see :