This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Spike protein sequences for COVID-19 variants

Are these available online somewhere? I've written up some code to build phylogenetic trees and infer ancestral sequences. I'd like to try them out on real-world data.

covid covid-19

1 answer

Perhaps download the genomes from NCBI (https://www.ncbi.nlm.nih.gov/nuccore/?term=txid2697049[Organism:noexp]) and use a tool like Biopython to extract the Spike region. Otherwise you need to make an account with GISAID if eligible, be accepted, then you can directly download alignments of the Spike region (nucleotide or amino acid).

Sorry I'm not too familiar with NCBI's interface. Is there a way to download these ~2 million sequences (or some subset) in bulk or do I have to make a script to download each FASTA individually??

Log in to answer this question.