-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from UPHL-BioNGS/erin-dev
Erin dev
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
println("Currently using the Cecret workflow for use with amplicon-based Illumina hybrid library prep on MiSeq\n") | ||
println("Author: Erin Young") | ||
println("email: [email protected]") | ||
println("Version: v.2.2.20211215") | ||
println("Version: v.2.2.20211220") | ||
println("") | ||
|
||
params.reads = workflow.launchDir + '/reads' | ||
|
@@ -68,6 +68,10 @@ paried_reads_check | |
exit 1 | ||
} | ||
|
||
Channel | ||
.fromPath("${workflow.projectDir}/bin/combine_results.py", type:'file') | ||
.set { combine_results_script } | ||
|
||
// reference files for SARS-CoV-2 (part of the github repository) | ||
params.reference_genome = workflow.projectDir + "/configs/MN908947.3.fasta" | ||
params.gff_file = workflow.projectDir + "/configs/MN908947.3.gff" | ||
|
@@ -1499,6 +1503,7 @@ process combine_results { | |
file(pangolin) from pangolin_file.ifEmpty([]) | ||
file(vadr) from vadr_file.ifEmpty([]) | ||
file(summary) from summary_file.collect() | ||
file(combine_results) from combine_results_script | ||
|
||
output: | ||
file("cecret_results.{csv,txt}") | ||
|
@@ -1520,8 +1525,7 @@ process combine_results { | |
if [ -s "vadr.vadr.sqa" ] ; then tail -n +2 "vadr.vadr.sqa" | tr -s '[:blank:]' ',' > vadr.csv ; fi | ||
python !{workflow.projectDir}/bin/combine_results.py | ||
python !{combine_results} | ||
cat cecret_results.csv | tr ',' '\\t' > cecret_results.txt | ||
''' | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters