Skip to content

Commit a954575

Browse files
authored
Merge pull request #307 from PolinaBevad/changes_for_option_M
Added fixes to integration tests
2 parents bac5faa + 9372080 commit a954575

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

tests/integration/expected/vardict.paired.vcf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
##INFO=<ID=LSEQ,Number=1,Type=String,Description="5' flanking seq">
1515
##INFO=<ID=RSEQ,Number=1,Type=String,Description="3' flanking seq">
1616
##INFO=<ID=STATUS,Number=1,Type=String,Description="Somatic or germline status">
17+
##INFO=<ID=P0.01Likely,Number=0,Type=Flag,Description="Likely candidate but p-value > 0.01/5**vd2 (means the evidence in tumor sample might be weak, e.g. small diff in AF)">
18+
##INFO=<ID=IndelLikely,Number=0,Type=Flag,Description="Likely indels more than 2bp are not considered somatic (weak evidence of presence in normal samples)">
1719
##FILTER=<ID=q22.5,Description="Mean Base Quality Below 22.5">
1820
##FILTER=<ID=Q0,Description="Mean Mapping Quality Below 0">
1921
##FILTER=<ID=p8,Description="Mean Position in Reads Less than 8">
@@ -26,8 +28,6 @@
2628
##FILTER=<ID=f0.02,Description="Allele frequency < 0.02">
2729
##FILTER=<ID=P0.05,Description="Not significant with p-value > 0.05">
2830
##FILTER=<ID=DIFF0.2,Description="Non-somatic or LOH and allele frequency difference < 0.2">
29-
##FILTER=<ID=P0.01Likely,Description="Likely candidate but p-value > 0.01/5**vd2">
30-
##FILTER=<ID=InDelLikely,Description="Likely Indels are not considered somatic">
3131
##FILTER=<ID=MSI12,Description="Variant in MSI region with 12 non-monomer MSI or 12 monomer MSI">
3232
##FILTER=<ID=NM5.25,Description="Mean mismatches in reads >= 5.25, thus likely false positive">
3333
##FILTER=<ID=InGap,Description="The somatic variant is in the deletion gap, thus likely false positive">

tests/integration/tests_integration.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ function run_perl_java {
217217
cat $VARDICT_OUT_R_JAVA | $VARDICTPERL_VAR_PAIRED > $VARDICT_OUT_VCF_JAVA
218218
cat $VARDICT_OUT_R_PERL | $VARDICTPERL_VAR_PAIRED > $VARDICT_OUT_VCF_PERL
219219
diff_results "VCF_JAVA_PERL" $VARDICT_OUT_VCF_PERL $VARDICT_OUT_VCF_JAVA
220+
221+
echo Running Var2VCF script opt_M
222+
cat $VARDICT_OUT_R_JAVA | $VARDICTPERL_VAR_PAIRED -M > $VARDICT_OUT_VCF_JAVA
223+
cat $VARDICT_OUT_R_PERL | $VARDICTPERL_VAR_PAIRED -M > $VARDICT_OUT_VCF_PERL
224+
diff_results "VCF_JAVA_PERL_M" $VARDICT_OUT_VCF_PERL $VARDICT_OUT_VCF_JAVA
220225
}
221226

222227
#---

0 commit comments

Comments
 (0)