Advertisement
Guest User

example.xml

a guest
Aug 22nd, 2022
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.57 KB | None | 0 0
  1. <tool id="example" name="example" version="0.1.0+galaxy0" python_template_version="3.5" profile="21.05">
  2.     <requirements>
  3.     </requirements>
  4.     <command detect_errors="exit_code"><![CDATA[
  5.        ## vcf definition
  6. #if $required_arguments.vcf:
  7.   --vcf $required_arguments.vcf
  8. #end if
  9. ## end vcf definition
  10.  
  11. ## out definition
  12. #if $required_arguments.out:
  13.   --out $required_arguments.out
  14. #end if
  15. ## end out definition
  16.  
  17. ## vcftype definition
  18. #if $optional_input_arguments.vcftype:
  19.   --vcftype $optional_input_arguments.vcftype
  20. #end if
  21. ## end vcftype definition
  22.  
  23. ## samples definition
  24. #if $optional_input_arguments.samples:
  25.   --samples $optional_input_arguments.samples
  26. #end if
  27. ## end samples definition
  28.  
  29. ## period definition
  30. #if $optional_input_arguments.period:
  31.   --period $optional_input_arguments.period
  32. #end if
  33. ## end period definition
  34.  
  35. ## quality definition
  36. #for $item in $quality_plot_options.quality:
  37.      ## quality definition
  38.   #if $item:
  39.   --quality $item
  40.   #end if
  41.   ## end quality definition
  42.  
  43. #end for
  44. ## end quality definition
  45.  
  46. ## quality_ignore_no_call definition
  47. #if $quality_plot_options.quality_ignore_no_call:
  48.   --quality-ignore-no-call $quality_plot_options.quality_ignore_no_call
  49. #end if
  50. ## end quality_ignore_no_call definition
  51.  
  52. ## refbias_metric definition
  53. #if $reference_bias_plot_options.refbias_metric:
  54.   --refbias-metric $reference_bias_plot_options.refbias_metric
  55. #end if
  56. ## end refbias_metric definition
  57.  
  58. ## refbias_mingts definition
  59. #if $reference_bias_plot_options.refbias_mingts:
  60.   --refbias-mingts $reference_bias_plot_options.refbias_mingts
  61. #end if
  62. ## end refbias_mingts definition
  63.  
  64. ## refbias_xrange_min definition
  65. #if $reference_bias_plot_options.refbias_xrange_min:
  66.   --refbias-xrange-min $reference_bias_plot_options.refbias_xrange_min
  67. #end if
  68. ## end refbias_xrange_min definition
  69.  
  70. ## refbias_xrange_max definition
  71. #if $reference_bias_plot_options.refbias_xrange_max:
  72.   --refbias-xrange-max $reference_bias_plot_options.refbias_xrange_max
  73. #end if
  74. ## end refbias_xrange_max definition
  75.  
  76. ## refbias_binsize definition
  77. #if $reference_bias_plot_options.refbias_binsize:
  78.   --refbias-binsize $reference_bias_plot_options.refbias_binsize
  79. #end if
  80. ## end refbias_binsize definition
  81.  
  82. ## numrecords definition
  83. #if $debug_group.numrecords:
  84.   --numrecords $debug_group.numrecords
  85. #end if
  86. ## end numrecords definition
  87.  
  88. ## version definition
  89. #if $version.version:
  90.   --version $version.version
  91. #end if
  92. ## end version definition
  93.  
  94.    ]]></command>
  95.     <inputs>
  96.         <section name="required_arguments" title="Required arguments" expanded="true">
  97.             <param argument="--vcf" type="text" optional="true" label="vcf" help="VCF file to analyze."/>
  98.             <param argument="--out" type="text" optional="true" label="out" help="Output prefix for files generated"/>
  99.         </section>
  100.  
  101.         <section name="optional_input_arguments" title="Optional input arguments" expanded="true">
  102.             <param argument="--vcftype" type="select" optional="false" label="vcftype"
  103.                   help="Which type of VCF to restrict the input to, or 'auto' for no restrction">
  104.                 <option value="##!!## Name trh could not be loaded">##!!## name trh could not be loaded</option>
  105.             </param>
  106.             <param argument="--samples" type="text" optional="false" label="samples"
  107.                   help="File containing list of samples to include"/>
  108.             <param argument="--period" type="integer" optional="false" label="period"
  109.                   help="Only consider repeats with this motif length"/>
  110.         </section>
  111.  
  112.         <section name="quality_plot_options" title="Quality plot options" expanded="true">
  113.             <repeat name="quality_repeat" title="quality_repeat">
  114.                 <param argument="--quality" type="select" optional="false" label="quality"
  115.                       help="Which quality plot(s) to produce. May be specified more than  once. See the README for more info">
  116.                     <option value="per-locus">Per-locus</option>
  117.  
  118.                     <option value="sample-stratified">Sample-stratified</option>
  119.  
  120.                     <option value="per-sample">Per-sample</option>
  121.  
  122.                     <option value="locus-stratified">Locus-stratified</option>
  123.  
  124.                     <option value="per-call">Per-call</option>
  125.                 </param>
  126.             </repeat>
  127.             <param argument="--quality-ignore-no-call" type="text" optional="false" label="quality_ignore_no_call"
  128.                   help="Exclude no-calls and calls without quality scores from quality graph distributions instead of the default, which is to include them as zero quality calls. Setting this can cause the plotting to crash if it reduces the number of valid calls (in a strata) to <= 1"/>
  129.         </section>
  130.  
  131.         <section name="reference_bias_plot_options" title="Reference bias plot options" expanded="true">
  132.             <param argument="--refbias-metric" type="select" optional="false" label="refbias_metric"
  133.                   help="Which metric to use for the y-axis on the reference bias plot.">
  134.                 <option value="mean">Mean</option>
  135.  
  136.                 <option value="median">Median</option>
  137.             </param>
  138.             <param argument="--refbias-mingts" type="integer" optional="false" label="refbias_mingts"
  139.                   help="Don't compute points for the reference bias plot based on fewer than this many genotypes"/>
  140.             <param argument="--refbias-xrange-min" type="integer" optional="false" label="refbias_xrange_min"
  141.                   help="Minimum x-axis value (bp) to show on the reference bias plot"/>
  142.             <param argument="--refbias-xrange-max" type="integer" optional="false" label="refbias_xrange_max"
  143.                   help="Maximum x-axis value (bp) to show on the reference bias plot"/>
  144.             <param argument="--refbias-binsize" type="integer" optional="false" label="refbias_binsize"
  145.                   help="Size (bp) of x-axis bins for the reference bias plot"/>
  146.         </section>
  147.  
  148.         <section name="debug_group" title="Debug group" expanded="true">
  149.             <param argument="--numrecords" type="integer" optional="false" label="numrecords"
  150.                   help="Only process this many records"/>
  151.         </section>
  152.  
  153.         <section name="version" title="Version" expanded="true">
  154.             <param argument="--version" type="text" optional="false" label="version"/>
  155.         </section>
  156.  
  157.     </inputs>
  158.     <outputs>
  159.     </outputs>
  160.     <help><![CDATA[
  161.        TODO: Fill in help.
  162.    ]]></help>
  163. </tool>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement