1
|
1 <tool id="crossmap" name="crossmap" version="0.1.8">
|
|
2 <description>Convert genome coordinates or annotation files between genome assemblies</description>
|
|
3
|
|
4 <requirements>
|
|
5 <requirement type="package" version="0.1.8">crossmap</requirement>
|
|
6 </requirements>
|
|
7
|
|
8 <stdio></stdio>
|
|
9
|
|
10 <command>
|
|
11 CrossMap.py --help > $output
|
|
12 </command>
|
|
13
|
|
14 <inputs>
|
|
15 <param format="interval,gff,gtf,vcf" name="input" type="data" label="Convert coordinates of" />
|
|
16 <!--
|
|
17 <param format="interval,gff,gtf,vcf" name="input" type="data" label="Convert coordinates of">
|
|
18 <validator type="unspecified_build" />
|
|
19 <validator type="dataset_metadata_in_file" filename="liftOver.loc" metadata_name="dbkey" metadata_column="0" message="Liftover mappings are currently not available for the specified build." />
|
|
20 </param>
|
|
21 <param name="to_dbkey" type="select" label="To">
|
|
22 <options from_file="liftOver.loc">
|
|
23 <column name="name" index="1"/>
|
|
24 <column name="value" index="2"/>
|
|
25 <column name="dbkey" index="0"/>
|
|
26 <filter type="data_meta" ref="input" key="dbkey" column="0" />
|
|
27 </options>
|
|
28 </param>
|
|
29 <param name="minMatch" size="10" type="float" value="0.95" label="Minimum ratio of bases that must remap" help="Recommended values: same species = 0.95, different species = 0.10" />
|
|
30 <conditional name="multiple">
|
|
31 <param name="choice" type="select" label="Allow multiple output regions?" help="Recommended values: same species = No, different species = Yes">
|
|
32 <option value="0" selected="true">No</option>
|
|
33 <option value="1">Yes</option>
|
|
34 </param>
|
|
35 <when value="0">
|
|
36 <param name="minSizeQ" type="hidden" value="0" />
|
|
37 <param name="minChainQ" type="hidden" value="0" />
|
|
38 <param name="minChainT" type="hidden" value="0" />
|
|
39 </when>
|
|
40 <when value="1">
|
|
41 <param name="minSizeQ" size="10" type="integer" value="0" label="Minimum matching region size in dataset" help="Recommended value: set to >= 300 bases for complete transcripts"/>
|
|
42 <param name="minChainQ" size="10" type="integer" value="500" label="Minimum chain size in dataset"/>
|
|
43 <param name="minChainT" size="10" type="integer" value="500" label="Minimum chain size in target"/>
|
|
44 </when>
|
|
45 </conditional>
|
|
46 -->
|
|
47 </inputs>
|
|
48
|
|
49 <outputs>
|
|
50 <data format="text" name="output" label="Output file">
|
|
51 </data>
|
|
52 </outputs>
|
|
53
|
|
54 <tests>
|
|
55 <test>
|
|
56 <param name="input" value="test1.hg19.txt"/>
|
|
57 <output name="output" file="test1.hg18.txt"/>
|
|
58 </test>
|
|
59 </tests>
|
|
60
|
|
61 <help>
|
|
62 CrossMap is versatile tool to convert genome coordinates or annotation files between genome
|
|
63 assemblies. It supports mostly commonly used file types, including BAM, BED,BigWig, GFF,
|
|
64 GTF, SAM, Wiggle, and VCF formats. For large plain text file types, such as BED, GFF, GTF
|
|
65 and VCF, reading from remote servers and file compression are supported.
|
|
66 </help>
|
|
67
|
|
68 <citations>
|
|
69 <citation type="doi">10.1093/bioinformatics/btt730</citation>
|
|
70 </citations>
|
|
71 </tool>
|