Skip to content

Commit

Permalink
Merge pull request #38 from CCRGeneticsBranch/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
vinegang authored Jan 15, 2025
2 parents 9d2e302 + e6d20f7 commit eb6fb89
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
7 changes: 6 additions & 1 deletion bin/tsv2html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Options:
--Name To include in Mail
--Diagnosis To include in the mail body
--Pipeline_version To include in mail body
Examples:
1. $(basename $0) --Name NCI00001 input.csv
Expand Down Expand Up @@ -57,6 +58,10 @@ while true; do
shift
diagnosis="$1"
;;
--pipeline)
shift
pipeline="$1"
;;
--help)
usage
exit 0
Expand Down Expand Up @@ -121,7 +126,7 @@ echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www
<body>
<p>
Hello,<br><br>
ngs-pipeline version v5.1 finished successfully on biowulf.nih.gov<br><br>
ngs-pipeline version $pipeline finished successfully on biowulf.nih.gov<br><br>
Please check the genotyping result on <b>$diagnosis</b> patient \"$name\"; a cell with <font color=\"red\">red</font> color indicate that corresponding library might not belong to the patient $name.<br><br>
</p>
"
Expand Down
6 changes: 3 additions & 3 deletions config/biowulf_small_test_params.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params {
Pipeline_version = "5.1.1"
Pipeline_version = "5.1.2"
genome_version = "19"
genome_version_tcellextrect = "hg19"
genome_version_fusion_annotation = "v37lift37"
Expand Down Expand Up @@ -38,8 +38,8 @@ params {
access_hotspot = "/data/Clinomics/Ref/khanlab/hotspot/hg19_Hotspot.08.08.16_merged.bed"
hg19_hotspot_pos = "/data/Clinomics/Ref/khanlab/annotation/hg19_hotspot_pos.txt"
Biowulf_snpEff_config = "/data/Clinomics/Tools/ngs_pipeline_4.2/Tools_config/Biowulf_snpEff.config"
dbNSFP2_4 = "/fdb/dbNSFP2/dbNSFP2.4.txt.gz"
dbNSFP2_4_tbi = "/fdb/dbNSFP2/dbNSFP2.4.txt.gz.tbi"
dbNSFP2_4 = "/vf/users/khanlab/projects/Nextflow_dev/dev/dbNSFP/dbNSFP2.4.txt.gz"
dbNSFP2_4_tbi = "/vf/users/khanlab/projects/Nextflow_dev/dev/dbNSFP/dbNSFP2.4.txt.gz.tbi"
strelka_config = "/data/Clinomics/Tools/ngs_pipeline_4.3/Tools_config/Biowulf_Strelka.config.ini"
recode_vcf = "/data/Clinomics/Ref/khanlab/verifyBamID/Clinical_Research_Exome.recode.vcf"
cosmic_v67_hg19_vcf = "/data/khanlab/projects/ngs_pipeline_testing/References_4.0/New_GRCh37/cosmic_v67.hg19.vcf"
Expand Down
5 changes: 3 additions & 2 deletions modules/qc/qc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ process Kraken {
}

process Krona {
tag "$meta.lib"

tag "$meta.lib"
errorStrategy 'ignore'
publishDir "${params.resultsdir}/${meta.id}/${meta.casename}/${meta.lib}/qc/kraken", mode: 'copy'

input:
Expand Down Expand Up @@ -261,7 +262,7 @@ process Genotyping_Sample {
sed -i 's/.bwa//g' ${meta.id}.genotyping.txt
sed -i 's/.star//g' ${meta.id}.genotyping.txt
sh tsv2html.sh --name ${meta.id} --diagnosis '${meta.diagnosis}' --head ${meta.id}.genotyping.txt > genotyping.html
sh tsv2html.sh --name ${meta.id} --diagnosis '${meta.diagnosis}' --pipeline ${Pipeline_version} --head ${meta.id}.genotyping.txt > genotyping.html
"""

}
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ plugins {
prov {
formats {
bco {
file = 'log/bco_${timestamp}.json'
file = "log/bco_${timestamp}.json"
overwrite = true
}
legacy {
file = 'log/manifest_${timestamp}.json'
file = "log/manifest_${timestamp}.json"
overwrite = true
}
}
Expand Down

0 comments on commit eb6fb89

Please sign in to comment.