diff bcftools_gtcheck.xml @ 3:bf8c3c146a1c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
author iuc
date Tue, 31 Jan 2017 12:42:49 -0500
parents 025adf89e10d
children d8c55ac67d89
line wrap: on
line diff
--- a/bcftools_gtcheck.xml	Mon Oct 03 12:15:51 2016 -0400
+++ b/bcftools_gtcheck.xml	Tue Jan 31 12:42:49 2017 -0500
@@ -15,16 +15,16 @@
 #set $section = $sec_default
 #set $genotypes_vcf = None
 #if $section.genotypes:
-  #if $section.genotypes.datatype.file_ext == 'vcf'
+  #if $section.genotypes.is_of_type('vcf')
     #set $genotypes_vcf = 'genotypes.vcf.gz'
     bgzip -c "$section.genotypes" > $genotypes_vcf &&
     bcftools index $genotypes_vcf &&
-  #elif $section.genotypes.datatype.file_ext == 'bcf'
+  #elif $section.genotypes.is_of_type('bcf')
     #set $genotypes_vcf = 'genotypes.bcf'
-    ln -s "$ection.genotypes" $genotypes_vcf && 
+    ln -s "$ection.genotypes" $genotypes_vcf &&
     #if $section.genotypes.metadata.bcf_index:
       ln -s $section.genotypes.metadata.bcf_index ${genotypes_vcf}.csi &&
-    #else 
+    #else
       bcftools index $genotypes_vcf &&
     #end if
   #end if
@@ -80,7 +80,7 @@
             <expand macro="macro_targets" />
         </section>
         <section name="sec_default" expanded="true" title="Default Options">
-            <param name="genotypes" type="data" format="vcf,bcf" label="Genotypes to compare against" optional="True" 
+            <param name="genotypes" type="data" format="vcf,bcf" label="Genotypes to compare against" optional="True"
                    help="(-g) Checks sample identity or wehn omitted a multi-sample cross-check is performed"/>
             <param name="target_sample" type="text" label="Target Sample" optional="True" help="Target sample in the -g file (used only for plotting)" />
             <param name="GTs_only" type="integer" label="Gts Only" value="99" optional="True" help="Use GTs, ignore PLs, using &lt;int&gt; for unseen genotypes" />