Skip to content

Commit

Permalink
documentation and indication of user-specified paths for binds
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-watson committed Aug 26, 2024
1 parent 3ba8d9f commit 450d9e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions contigsTaxonomyAssignment/contigsTaxonomyAssignment.nf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//André Watson
//Aug 2024
//apwat @ lanl.gov

//base process. Takes a FASTA file containing contigs and performs taxonomic analysis with MICCR (https://github.com/chienchi/miccr).
process contigTaxonomy {
publishDir(
path: "$params.outDir/AssemblyBasedAnalysis/Taxonomy",
Expand All @@ -21,6 +26,7 @@ process contigTaxonomy {
"""
}

//adds multi-level taxonomic classification to results file. Takes in a .ctg.tsv file produced by MICCR.
process addLineage {
publishDir(
path: "$params.outDir/AssemblyBasedAnalysis/Taxonomy",
Expand All @@ -40,6 +46,8 @@ process addLineage {
"""
}

//creates taxonomy classification graphs. Takes lineage file, .lca_ctg.tsv file produced by MICCR,
//and a coverage table (see https://github.com/chienchi/miccr/blob/master/utils/README.md), or from workflow runReadsToContig
process plotAndTable {
publishDir(
path: "$params.outDir/AssemblyBasedAnalysis/Taxonomy",
Expand Down
2 changes: 1 addition & 1 deletion contigsTaxonomyAssignment/nextflow.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

singularity {
enabled=true
runOptions="--compat --home /media/volume/sdd/nextflow --bind /media/volume/sdd/nextflow/database/miccrDB:/venv/database/miccrDB"
runOptions="--compat --home /path/to/home --bind /path/to/miccrDB:/venv/database/miccrDB"
}
process.container = 'apwat/contigs_taxonomy:1.10'
params {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"contigFile":"test_files/Final_contigs.fasta",
"outDir": "contigTaxonomyOut",
"projName": "contigTaxTest",
"dbPath": "/venv/database/miccrDB/NCBI-Bacteria-Virus.fna.mmi",
"dbPath": "/path/to/miccrDB/NCBI-Bacteria-Virus.fna.mmi",
"coverageTable": "test_files/basic_coverage.table"
}

0 comments on commit 450d9e1

Please sign in to comment.