annotate bcftools_sort.xml @ 1:bb0f975d69b4 draft default tip

Uploaded
author greg
date Wed, 21 Aug 2024 13:46:20 +0000
parents 1d4c51dcbbbe
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@VERSION@">
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
3 <description>sort VCF/BCF files</description>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
4 <macros>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
5 <token name="@EXECUTABLE@">sort</token>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
6 <import>macros.xml</import>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
7 </macros>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
8 <expand macro="requirements"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
10 @PREPARE_ENV@
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
11 #set temp_dir = 'tmp'
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
12 mkdir $temp_dir &&
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
13 bcftools @EXECUTABLE@
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
14 $input_file
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
15 --output-file '$output_file'
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
16 @OUTPUT_TYPE@
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
17 --temp-dir '$temp_dir'
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
18 ]]>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
19 </command>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
20 <inputs>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
21 <expand macro="macro_input"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
22 <expand macro="macro_select_output_type"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
23 </inputs>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
24 <outputs>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
25 <expand macro="macro_vcf_output"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
26 </outputs>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
27 <tests>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
28 <test>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
29 <param name="input_file" value="unsorted.vcf" ftype="vcf"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
30 <param name="output_type" value="v"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
31 <output name="output_file" file="sorted.vcf" ftype="vcf"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
32 </test>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
33 </tests>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
34 <help><![CDATA[
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
35 =====================================
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
36 bcftools @EXECUTABLE@
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
37 =====================================
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
38
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
39 Sort VCF/BCF files.
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
40
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
41 @BCFTOOLS_MANPAGE@#@EXECUTABLE@
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
42
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
43 @BCFTOOLS_WIKI@
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
44 ]]>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
45 </help>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
46 <expand macro="citations"/>
1d4c51dcbbbe Uploaded
greg
parents:
diff changeset
47 </tool>