There is a newer version of this record available.

Software Open Access

roblanf/sarscov2phylo: 12-10-20

roblanf; Richard Mansfield

Citation and reuse

Please cite this release as:

Lanfear, Rob (2020). A global phylogeny of SARS-CoV-2 sequences from GISAID. Zenodo DOI: 10.5281/zenodo.3958883

You can visit that DOI here:

If you publish papers that use this tree you must still follow the GISAID data sharing and attribution rules.

Details

The trees in this release were generated with the following command line:

bash global_tree_gisaid_start_tree.sh -i [gisaid.fasta] -p [previous_iteration] -t 250

  • [gisaid.fasta] is the fasta file of high coverage and complete raw sequences from GISAID up to and including the date in the title of the release, determined by the 'submission date' filter on a GISAID data feed

  • [previous_iteration] is the filepath of the previous release, this is used to provide the excluded_sequences.tsv and ft_SH.tree files as the starting points of the current iteration.

Filtering statistics
sequences downloaded from GISAID
103337
//
alignment stats of global alignment
Alignment number:    1
Format:              aligned FASTA
Number of sequences: 101866
Alignment length:    29903
Total # residues:    3036101863
Smallest:            29030
Largest:             29903
Average length:      29804.9
Average identity:    100%
//
alignment stats of global alignment after masking sites
Alignment number:    1
Format:              aligned FASTA
Number of sequences: 101866
Alignment length:    29903
Total # residues:    3022053816
Smallest:            28961
Largest:             29675
Average length:      29667.0
Average identity:    100%
//
alignment stats after filtering out short/ambiguous sequences
Alignment number:    1
Format:              aligned FASTA
Number of sequences: 101676
Alignment length:    29903
Total # residues:    3016426648
Smallest:            28961
Largest:             29675
Average length:      29667.0
Average identity:    100%
//
alignment stats of global alignment after trimming sites that are >50% gaps
Alignment number:    1
Format:              aligned FASTA
Number of sequences: 101676
Alignment length:    29646
Total # residues:    3008318632
Smallest:            28437
Largest:             29646
Average length:      29587.3
Average identity:    100%
//
After filtering sequences with TreeShrink
Type:   Phylogram
#nodes: 177999
#leaves:    101609
#dichotomies:   72563
#leaf labels:   101609
#inner labels:  68285
Number of new sequences added this iteration
2604 alignment_names_new.txt
Notable changes to the scripts in this release
  • Some more issues occurred with sequence names, so I have shifted to using exclusively just the EPI-IDs for sequence names in the alignments, trees, and scripts. This should avoid any future issues with sequence names.

If you have a GISAID data stream, this means you can get the data as follows:

curl -u "${GISAID_LOGIN}:${GISAID_PASSWORD}" ${URL} 2>/dev/null \
    | xz -d -T22 \
    | jq -r 'select(.covv_subm_date <= "'"$DATE"'" and .is_complete == true and .is_high_coverage == true) | [">" + .covv_accession_id + "\n" + .sequence] | join("\n")' \
    | xz -c -T22 > gisaid-${DATE}.fasta.xz
Notable aspects of the trees
  • Names have changed to include only the EPI-IDs. This has the side-benefit of roughly halving the size of the tree file.

Files (9.4 MB)
Name Size
roblanf/sarscov2phylo-12-10-20.zip
md5:ace3454afd48b6b027c7e284647eae12
9.4 MB Download
6,206
277
views
downloads
All versions This version
Views 6,206271
Downloads 27712
Data volume 2.4 GB113.1 MB
Unique views 4,924235
Unique downloads 22711

Share

Cite as