Skip to content

Commit

Permalink
Add PhytoRef taxonomy database for chloroplast 16S
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrikarddaniel committed Dec 11, 2023
1 parent fac3d73 commit f61d945
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/taxref_reformat_phytoref.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

# Write the assignTaxonomy() fasta file: assignTaxonomy.fna
cat PhytoRef_with_taxonomy.fasta | sed '/>/s/>[^|]*|/>/' | sed '/>/s/|/;/g' > assignTaxonomy.fna

# Write the addSpecies() fasta file: addSpecies.fna
cat PhytoRef_with_taxonomy.fasta | sed '/^>/s/>\([^|]\+\)|.*|\([^|]\+\)/>\1 \2/' > addSpecies.fna
8 changes: 8 additions & 0 deletions conf/ref_databases.config
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ params {
dbversion = "MIDORI2-CO1 GB250 (http://reference-midori.info/download/Databases/GenBank250/DADA2_sp/uniq/MIDORI2_UNIQ_NUC_SP_GB250_CO1_DADA2.fasta.gz)"
taxlevels = "Phylum,Class,Order,Family,Genus,Species"
}
'phytoref' {
title = "PhytoRef plastid 16S rRNA database for photosynthetic eukaryotes"
file = [ "http://phytoref.sb-roscoff.fr/static/downloads/PhytoRef_with_taxonomy.fasta" ]
citation = "Decelle, Johan, Sarah Romac, Rowena F. Stern, El Mahdi Bendif, Adriana Zingone, Stéphane Audic, Michael D. Guiry, et al. 2015. PhytoREF: A Reference Database of the Plastidial 16S rRNA Gene of Photosynthetic Eukaryotes with Curated Taxonomy. Molecular Ecology Resources 15 (6): 1435–45. https://doi.org/10.1111/1755-0998.12401."
fmtscript = "taxref_reformat_phytoref.sh"
dbversion = "unknown"
taxlevels = "Domain,Supergroup,Subphylum,Class,Subclass,Order,Suborder,Family,Genus,Species"
}
'pr2' {
title = "PR2 - Protist Reference Ribosomal Database - Version 5.0.0"
file = [ "https://github.com/pr2database/pr2database/releases/download/v5.0.0/pr2_version_5.0.0_SSU_dada2.fasta.gz", "https://github.com/pr2database/pr2database/releases/download/v5.0.0/pr2_version_5.0.0_SSU_UTAX.fasta.gz" ]
Expand Down
1 change: 1 addition & 0 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"gtdb=R08-RS214",
"midori2-co1",
"midori2-co1=gb250",
"phytoref",
"pr2",
"pr2=4.13.0",
"pr2=4.14.0",
Expand Down

0 comments on commit f61d945

Please sign in to comment.