# HG changeset patch
# User nml
# Date 1566923490 14400
# Node ID 93ea196681c83f685dcbeee994e1a2bb39e65098
"planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
diff -r 000000000000 -r 93ea196681c8 filtervcf.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filtervcf.xml Tue Aug 27 12:31:30 2019 -0400
@@ -0,0 +1,27 @@
+
+ filter out indels and complex SNVS
+
+ snvphyl-tools
+
+
+ filterVcf.pl --noindels $vcf
+ -o $vcfout
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Filter out indels and complex variants from VCF file
+
+
+
+
diff -r 000000000000 -r 93ea196681c8 test-data/filterVcf.input.1.vcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/filterVcf.input.1.vcf Tue Aug 27 12:31:30 2019 -0400
@@ -0,0 +1,55 @@
+##fileformat=VCFv4.1
+##fileDate=20140423
+##source=freeBayes version 0.9.8
+##reference=/home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/reference/2010EL-1749.2010EL-1786-c1_2000_2400kb.fasta
+##phasing=none
+##commandline="/opt/freebayes/freebayes --bam /home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/bam/2010EL-1749.bam --vcf /home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/vcf/2010EL-1749.vcf --fasta-reference /home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/reference/2010EL-1749.2010EL-1786-c1_2000_2400kb.fasta --min-coverage 2 --pvar 0 --ploidy 1 --left-align-indels --min-mapping-quality 30 --min-base-quality 30 --min-alternate-fraction 0.75"
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT unknown
+gi|360034408|ref|NC_016445.1|_2000000_2400000 128 . GA AT 197.867 . AB=0;ABP=0;AC=1;AF=1;AN=1;AO=3;CIGAR=1X;DP=3;DPRA=0;EPP=3.73412;EPPR=0;HWE=-0;LEN=1;MEANALT=1;MQM=54;MQMR=0;NS=1;NUMALT=1;ODDS=45.5605;PAIRED=0;PAIREDR=0;RO=0;RPP=3.73412;RPPR=0;RUN=1;SAP=3.73412;SRP=0;TYPE=snv;XAI=0;XAM=0;XAS=0;XRI=0;XRM=0;XRS=0;BVAR GT:GQ:DP:RO:QR:AO:QA:GL 1:50000:3:0:0:3:212:-19.7867,0
+gi|360034408|ref|NC_016445.1|_2000000_2400000 256 . A C 250.1 . AB=0;ABP=0;AC=1;AF=1;AN=1;AO=6;CIGAR=1X;DP=8;DPRA=0;EPP=8.80089;EPPR=3.0103;HWE=-0;LEN=1;MEANALT=1;MQM=54;MQMR=54;NS=1;NUMALT=1;ODDS=57.5877;PAIRED=0;PAIREDR=0;RO=2;RPP=8.80089;RPPR=7.35324;RUN=1;SAP=4.45795;SRP=3.0103;TYPE=snv;XAI=0;XAM=0;XAS=0;XRI=0;XRM=0;XRS=0;BVAR GT:GQ:DP:RO:QR:AO:QA:GL 1:50000:8:2:142:6:420:-38.5,-13.49
+gi|360034408|ref|NC_016445.1|_2000000_2400000 512 . AT C 250.1 . AB=0;ABP=0;AC=1;AF=1;AN=1;AO=6;CIGAR=1X;DP=8;DPRA=0;EPP=8.80089;EPPR=3.0103;HWE=-0;LEN=1;MEANALT=1;MQM=54;MQMR=54;NS=1;NUMALT=1;ODDS=57.5877;PAIRED=0;PAIREDR=0;RO=2;RPP=8.80089;RPPR=7.35324;RUN=1;SAP=4.45795;SRP=3.0103;TYPE=snv;XAI=0;XAM=0;XAS=0;XRI=0;XRM=0;XRS=0;BVAR GT:GQ:DP:RO:QR:AO:QA:GL 1:50000:8:2:142:6:420:-38.5,-13.49
diff -r 000000000000 -r 93ea196681c8 test-data/filterVcf.output.1.vcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/filterVcf.output.1.vcf Tue Aug 27 12:31:30 2019 -0400
@@ -0,0 +1,55 @@
+##fileformat=VCFv4.1
+##fileDate=20140423
+##source=freeBayes version 0.9.8
+##reference=/home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/reference/2010EL-1749.2010EL-1786-c1_2000_2400kb.fasta
+##phasing=none
+##commandline="/opt/freebayes/freebayes --bam /home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/bam/2010EL-1749.bam --vcf /home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/vcf/2010EL-1749.vcf --fasta-reference /home/aaron/microbialinformatics2014/core-snv-tutorial/output-10-subsample/reference/2010EL-1749.2010EL-1786-c1_2000_2400kb.fasta --min-coverage 2 --pvar 0 --ploidy 1 --left-align-indels --min-mapping-quality 30 --min-base-quality 30 --min-alternate-fraction 0.75"
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+##FORMAT=
+#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT unknown
+gi|360034408|ref|NC_016445.1|_2000000_2400000 128 . G A 197.867 . AB=0;ABP=0;AC=1;AF=1;AN=1;AO=3;CIGAR=1X;DP=3;DPRA=0;EPP=3.73412;EPPR=0;HWE=-0;LEN=1;MEANALT=1;MQM=54;MQMR=0;NS=1;NUMALT=1;ODDS=45.5605;PAIRED=0;PAIREDR=0;RO=0;RPP=3.73412;RPPR=0;RUN=1;SAP=3.73412;SRP=0;TYPE=snv;XAI=0;XAM=0;XAS=0;XRI=0;XRM=0;XRS=0;BVAR GT:GQ:DP:RO:QR:AO:QA:GL 1:50000:3:0:0:3:212:-19.7867,0
+gi|360034408|ref|NC_016445.1|_2000000_2400000 129 . A T 197.867 . AB=0;ABP=0;AC=1;AF=1;AN=1;AO=3;CIGAR=1X;DP=3;DPRA=0;EPP=3.73412;EPPR=0;HWE=-0;LEN=1;MEANALT=1;MQM=54;MQMR=0;NS=1;NUMALT=1;ODDS=45.5605;PAIRED=0;PAIREDR=0;RO=0;RPP=3.73412;RPPR=0;RUN=1;SAP=3.73412;SRP=0;TYPE=snv;XAI=0;XAM=0;XAS=0;XRI=0;XRM=0;XRS=0;BVAR GT:GQ:DP:RO:QR:AO:QA:GL 1:50000:3:0:0:3:212:-19.7867,0
+gi|360034408|ref|NC_016445.1|_2000000_2400000 256 . A C 250.1 . AB=0;ABP=0;AC=1;AF=1;AN=1;AO=6;CIGAR=1X;DP=8;DPRA=0;EPP=8.80089;EPPR=3.0103;HWE=-0;LEN=1;MEANALT=1;MQM=54;MQMR=54;NS=1;NUMALT=1;ODDS=57.5877;PAIRED=0;PAIREDR=0;RO=2;RPP=8.80089;RPPR=7.35324;RUN=1;SAP=4.45795;SRP=3.0103;TYPE=snv;XAI=0;XAM=0;XAS=0;XRI=0;XRM=0;XRS=0;BVAR GT:GQ:DP:RO:QR:AO:QA:GL 1:50000:8:2:142:6:420:-38.5,-13.49