annotate cnv-vcf2json.xml @ 1:7d2d2e3b9891 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 7b5c842d3c006d2afd00aff1ef833f236a45dd3d
author iuc
date Wed, 24 Jul 2024 12:56:03 +0000
parents c8caf812d33b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
1 <tool id="cnv_vcf2json" name="CNV VCF2JSON" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
2 <description>Converts 1000hg structural variants VCF file to JSON</description>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
3 <macros>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
4 <import>macros.xml</import>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
5 </macros>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
7 <expand macro="creators"/>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
9 #import re
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
10 ln -s '$input_vcf_file' ./input.vcf &&
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
11 cnv-vcf2json
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
12 -i ./input.vcf
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
13 -o output.json
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
14 ]]></command>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
15 <inputs>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
16 <param name="input_vcf_file" type="data" format="vcf" label="CNV VCF file" help="" />
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
17 </inputs>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
18 <outputs>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
19 <data name="output_json" format="json" label="${tool.name} on ${on_string}: CNV JSON File" from_work_dir="output.json" />
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
20 </outputs>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
21 <tests>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
22 <test expect_num_outputs="1">
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
23 <param name="input_vcf_file" ftype="vcf" value="HG00096.cnv.vcf" />
1
7d2d2e3b9891 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 7b5c842d3c006d2afd00aff1ef833f236a45dd3d
iuc
parents: 0
diff changeset
24 <output name="output_json" file="output.json" ftype="json" compare="sim_size" >
7d2d2e3b9891 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 7b5c842d3c006d2afd00aff1ef833f236a45dd3d
iuc
parents: 0
diff changeset
25 <assert_contents><has_size value="356000" delta="20000" /></assert_contents>
7d2d2e3b9891 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 7b5c842d3c006d2afd00aff1ef833f236a45dd3d
iuc
parents: 0
diff changeset
26 </output>
0
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
27 </test>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
28 </tests>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
29 <help><![CDATA[
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
30 The tool converts the structural variants VCF file into JSON file as a preprocessing step to import the data into Beacon2 MongoDB protocol
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
31 ]]></help>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
32 <expand macro="citations"/>
c8caf812d33b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnv-vcf2json commit 485fd56c701872217e6d6ccc4321c1f0522ad540
iuc
parents:
diff changeset
33 </tool>