This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Download FASTA sequences for known viral reference genomes

I am trying to align unmapped reads in a whole human genome sequence to viral genomes. I stumbled across NCBI's repository of reference genomes at the link below:

https://www.ncbi.nlm.nih.gov/genome/browse/#!/overview/

Is there a way I can download the FASTA sequences for each of these reference genomes? I would only need DNA based viruses, and ones that infect humans

reference-genome virus

Thank you for the feedback, I just went back and validated all helpful answers from my previous questions

1 answer

Take a look at this report file for viral genomes.

I would only need DNA based viruses, and ones that infect humans

You can filter/parse out entries you need from it. Then download the genome sequence using EntrezDirect:

$ efetch -db nuccore -id NC_030449.1 -format fasta
>NC_030449.1 Unidentified circular ssDNA virus, complete genome
AAGTTCTGAGCGTAGGGCTAGTAGATAACGCACGTAGCTCAGATGACCGACGAAGACGGTCCTCGAGTAA
GAAACATAGTATTCATCATCAACGCAATCGATGGGGACGACCTTGTGTCCCAATTGCGTTTGCTCGATTT
CCAACACCCCACGTGGAAGCACGTAAAGTACTGTATCTATCAGCGAGAGTGCGGGGGTGAGGAGAATCGA
ATCCACTTCCAGGGCTACATGGAGTTCCACATCCAGCAGACCTATAAGCAGATTCATGCCATGGAAGGGA

Log in to answer this question.