cambiotraining / awd-pathogen-bioinformatics

Materials for "Introduction to Cholera Genomics" course
https://cambiotraining.github.io/awd-pathogen-bioinformatics
Other
1 stars 1 forks source link

additions to materials #12

Closed tavareshugo closed 9 months ago

tavareshugo commented 10 months ago

In rough order of priority:


Code for extracting SNPs and running IQ-TREE:

# Extract variant sites
snp-sites core_gene_alignment.aln -o core_gene_alignment_snps.aln

# Extract count of invariant sites
snp-sites -C core_gene_alignment.aln > constant_sites.txt

# fancier
iqtree -fconst $(cat constant_sites.txt) -s core_gene_alignment_snps.aln -nt AUTO -ntmax 8 -mem 8G -bb 1000 -m MFP

# manually add those numbers
iqtree -fconst 123,123,123,123 -s core_gene_alignment_snps.aln -nt AUTO -ntmax 8 -mem 8G -bb 1000 -m MFP
tavareshugo commented 10 months ago

Link to slides: https://docs.google.com/presentation/d/1ENJiefOD_wHsQOlzLuiRiZ6N_2kPoNpUSCxplt2asgQ/edit?usp=sharing

tavareshugo commented 9 months ago

Will not incorporate these, as they will become obsolete if we eventually switch to https://github.com/avantonder/assembleBAC-ONT