GToTree icon indicating copy to clipboard operation
GToTree copied to clipboard

Save downloaded genomes from NCBI

Open jmtsuji opened this issue 8 months ago • 2 comments

Thanks so much for your continued work on this really helpful workflow, @AstrobioMike !

I have a feature request (so low priority) regarding GToTree. Currently, if a list of NCBI assembly accession numbers is provided as input to GToTree (via -a), GToTree automatically downloads the genome for each accession, predicts amino acids when amino acid files don't already exist, and then runs the SCG search/alignment workflow. Being able to download genomes from NCBI like this is extremely helpful. However, I sometimes find myself wanting to work with the amino acid sequence files for the analyzed genomes after GToTree is finished. It seems like GToTree deletes these amino acid files (and does not save them even in the tmp directory with -d, debug mode). Might it be possible to add a flag to keep these files or to preserve them when debug mode (-d) is set?

Again, this is not urgent, because I can just download the genomes again myself if needed. Thanks so much in advance, and again, I have so appreciated this useful tool!

jmtsuji avatar Jun 05 '24 13:06 jmtsuji