Skip to content

Commit a2b0e3d

Browse files
committed
fix typo
1 parent c083d1a commit a2b0e3d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ngs_pipeline.snakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ for sample in config['sample_references'].keys():
246246
if config['sample_captures'][sample] not in config['Panel_List']:
247247
COPY_NUMBER +=[subject+"/"+TIME+"/"+sample+"/sequenza/"+sample+"/"+sample+"_alternative_fit.pdf"]
248248
COPY_NUMBER +=[subject+"/"+TIME+"/"+sample+"/sequenza/"+sample+".txt"]
249-
#COPY_NUMBER +=[subject+"/"+TIME+"/"+sample+"/NeoAntigen/MHC_Class_I/"+sample+".final.tsv"]
249+
COPY_NUMBER +=[subject+"/"+TIME+"/"+sample+"/NeoAntigen/MHC_Class_I/"+sample+".final.tsv"]
250250
SOMATIC +=[subject+"/"+TIME+"/"+sample+"/calls/"+sample+".MuTect.annotated.txt"]
251251
SOMATIC +=[subject+"/"+TIME+"/"+sample+"/calls/"+sample+".strelka.snvs.annotated.txt"]
252252
SOMATIC +=[subject+"/"+TIME+"/"+sample+"/calls/"+sample+".strelka.indels.annotated.txt"]
@@ -525,14 +525,14 @@ rule GENOTYPING:
525525
rule SampleGT:
526526
input:
527527
gtFiles=lambda wildcards: SUB_GT[wildcards.subject],
528-
mail =NGS_PIPELINE + "/scripts/tsv2html.sh",
529528
score=NGS_PIPELINE + "/scripts/scoreGenotyes.pl"
530529
output:
531530
"{subject}/{TIME}/qc/{subject}.genotyping.txt",
532531
params:
533532
rulename = "SampleGT",
534533
batch = config[config['host']]["job_default"],
535534
mail = config["mail"],
535+
mail_tool = NGS_PIPELINE + "/scripts/tsv2html.sh",
536536
host = config["host"],
537537
diagnosis = lambda wildcards: config['Diagnosis'][SUBJECT_TO_SAMPLE[wildcards.subject][0]]
538538
shell: """
@@ -557,7 +557,7 @@ rule SampleGT:
557557
sed -i 's/Sample_//g' {wildcards.subject}/{TIME}/qc/{wildcards.subject}.genotyping.txt
558558
sed -i 's/.bwa//g' {wildcards.subject}/{TIME}/qc/{wildcards.subject}.genotyping.txt
559559
sed -i 's/.star//g' {wildcards.subject}/{TIME}/qc/{wildcards.subject}.genotyping.txt
560-
ssh {params.host} "sh {input.mail} --name {wildcards.subject} --diagnosis '{params.diagnosis}' --head {WORK_DIR}/{wildcards.subject}/{TIME}/qc/{wildcards.subject}.genotyping.txt | mutt -e \\\"my_hdr Content-Type: text/html\\\" -s 'Genotyping Result on {wildcards.subject}' `whoami`@mail.nih.gov {params.mail} "
560+
ssh {params.host} "sh {params.mail_tool} --name {wildcards.subject} --diagnosis '{params.diagnosis}' --head {WORK_DIR}/{wildcards.subject}/{TIME}/qc/{wildcards.subject}.genotyping.txt | mutt -e \\\"my_hdr Content-Type: text/html\\\" -s 'Genotyping Result on {wildcards.subject}' `whoami`@mail.nih.gov {params.mail} "
561561
#######################
562562
"""
563563
############

scripts/process_pVACSeq.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
my @list =split("\t", $_);
1212
print "$list[0]\t$list[2]\t$list[2]\t$list[3]\t$list[4]\t";
1313
for (my $i=10; $i<=43; $i++){
14-
if ($list[$i] =~ /^\d+/){
14+
if ($list[$i] =~ /^\d+\.\d+/){
1515
$list[$i] = sprintf("%.2f", $list[$i]);
1616
}
1717
}

scripts/tsv2html.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www
121121
<body>
122122
<p>
123123
Hello,<br><br>
124-
Please check the genotyping result on <b>$diagnosis</b> patient \"$name\"; a cell with <font color=\"red\">red</font> color indicate that corrosponding library might not belong to the patient $name.<br><br>
124+
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>
125125
</p>
126126
"
127127

0 commit comments

Comments
 (0)