# HG changeset patch
# User iuc
# Date 1673442869 0
# Node ID 78df8fc2b3ab6ea8aa20a3a76deacc982f7dee99
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ucsc-tools/fatovcf commit 16910aa7b33e5ff73430be1ca9d7727f4ea5786a
diff -r 000000000000 -r 78df8fc2b3ab fatovcf.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fatovcf.xml Wed Jan 11 13:14:29 2023 +0000
@@ -0,0 +1,143 @@
+
+
+ Convert a FASTA alignment file to Variant Call Format (VCF) single-nucleotide diffs
+
+
+ 426
+
+
+ UCSC_Genome_Browser_Utilities
+
+
+ ucsc-fatovcf
+
+
+ 0
+ -windowSize=$mask_sites.windowSize
+ -minAmbigInWindow=$mask_sites.minAmbigInWindow
+ #end if
+ $includeNoAltN
+ -minAc=$minAc
+ -minAf=$minAf
+ #if $output.startOffset > 0
+ -startOffset=$output.startOffset
+ #end if
+ $output.includeRef
+ $output.noGenotypes
+ #if $output.vcfChrom
+ -vcfChrom='$output.vcfChrom'
+ #end if
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 78df8fc2b3ab test-data/excl.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/excl.txt Wed Jan 11 13:14:29 2023 +0000
@@ -0,0 +1,1 @@
+sample2
diff -r 000000000000 -r 78df8fc2b3ab test-data/input.fa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/input.fa Wed Jan 11 13:14:29 2023 +0000
@@ -0,0 +1,6 @@
+>sample1
+ANRGACACAGTCAC
+>sample2
+ARNGACAC----AC
+>sample3
+ARRAACGCATTCAN
diff -r 000000000000 -r 78df8fc2b3ab test-data/mask.vcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/mask.vcf Wed Jan 11 13:14:29 2023 +0000
@@ -0,0 +1,7 @@
+##fileformat=VCFv4.3
+##INFO=
+##INFO=
+##INFO=
+##INFO=
+#CHROM POS ID REF ALT QUAL FILTER INFO
+sample3 3 . T . . mask SUB=NDM;EXC=seq_end
diff -r 000000000000 -r 78df8fc2b3ab test-data/out1.vcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/out1.vcf Wed Jan 11 13:14:29 2023 +0000
@@ -0,0 +1,7 @@
+##fileformat=VCFv4.2
+##reference=test-data/input.fa:sample1
+##source=faToVcf test-data/input.fa test-data/out1.vcf
+#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sample2 sample3
+sample1 4 G4A G A . . AC=1;AN=2 GT 0 1
+sample1 7 A7G A G . . AC=1;AN=2 GT 0 1
+sample1 10 G10T G T . . AC=1;AN=1 GT . 1
diff -r 000000000000 -r 78df8fc2b3ab test-data/out2.vcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/out2.vcf Wed Jan 11 13:14:29 2023 +0000
@@ -0,0 +1,8 @@
+##fileformat=VCFv4.2
+##reference=test-data/input.fa:sample3
+##source=faToVcf test-data/input.fa out-test.vcf
+#CHROM POS ID REF ALT QUAL FILTER INFO
+sample1 3 R3R R * . . AC=0;AN=0
+sample1 5 A5G A G . . AC=1;AN=2
+sample1 8 G8A G A . . AC=1;AN=2
+sample1 11 T11G T G . . AC=1;AN=2