Mercurial > repos > iuc > crossmap_gff
comparison crossmap_gff.xml @ 0:5773a57e91e6 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit d578fad97ce545d68dde40155d36426a121e4447
author | iuc |
---|---|
date | Tue, 26 Sep 2017 05:44:21 -0400 |
parents | |
children | 1b57bf1bb4ec |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5773a57e91e6 |
---|---|
1 <tool id="crossmap_gff" name="CrossMap GFF" version="@WRAPPER_VERSION@-0"> | |
2 <description>Convert genome coordinates or annotation files between genome assemblies</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <expand macro="stdio"/> | |
8 <expand macro="version_command"/> | |
9 | |
10 <command><![CDATA[ | |
11 CrossMap.py gff | |
12 '${chain_source.input_chain}' | |
13 '${seq_source.input}' | |
14 | |
15 #if str($include_fails) == "True" | |
16 > | |
17 #end if | |
18 | |
19 '${output}' | |
20 ]]></command> | |
21 | |
22 <inputs> | |
23 <conditional name="seq_source"> | |
24 <expand macro="source" /> | |
25 | |
26 <when value="cached"> | |
27 <param format="gtf,gff,gff3" name="input" type="data" label="GTF/GFF file"> | |
28 <validator type="unspecified_build"/> | |
29 <!-- Gives error in tests | |
30 <validator type="dataset_metadata_in_file" filename="liftOver.loc" metadata_name="dbkey" metadata_column="0" message="LiftOver mapping (chain file) is not available for the specified build."/> | |
31 --> | |
32 </param> | |
33 </when> | |
34 <when value="history"> | |
35 <param type="data" format="gtf,gff,gff3" name="input" label="GTF/GFF file"/> | |
36 </when> | |
37 </conditional> | |
38 <expand macro="chain" /> | |
39 | |
40 <param name="include_fails" type="boolean" truevalue="True" checked="false" falsevalue="False" label="Include failed liftovers" help="If a coordinate can not be lift over, do you want to include it in the output (it is still being marked 'fail')"/> | |
41 </inputs> | |
42 | |
43 <outputs> | |
44 <!-- GTF/GFF3? test... --> | |
45 <data format="gff" name="output" label="${tool.name} on ${on_string}" /> | |
46 </outputs> | |
47 | |
48 <tests> | |
49 <!-- GFF --> | |
50 <test> | |
51 <param name="input_format" value="gff"/> | |
52 <param name="index_source" value="history"/> | |
53 <param name="input" value="test_gff_01_input_a.gtf" ftype="gtf"/> | |
54 <param name="input_chain" value="aToB.over.chain" ftype="csv"/> | |
55 <param name="include_fails" value="False"/> | |
56 | |
57 <output name="output" file="test_gff_01_output_a__only-matches.gtf"/> | |
58 </test> | |
59 <test> | |
60 <param name="input_format" value="gff"/> | |
61 <param name="index_source" value="history"/> | |
62 <param name="input" value="test_gff_01_input_a.gtf" ftype="gtf"/> | |
63 <param name="input_chain" value="aToB.over.chain" ftype="csv"/> | |
64 <param name="include_fails" value="True"/> | |
65 | |
66 <output name="output" file="test_gff_01_output_a__all.gtf"/> | |
67 </test> | |
68 </tests> | |
69 <help><![CDATA[ | |
70 @HELP_GENERAL@ | |
71 | |
72 GFF / GTF | |
73 --------- | |
74 Your input data should be either GTF/GFF2.5 or GFF3 format. | |
75 | |
76 GFF (General Feature Format) is another plain text file used to describe | |
77 gene structure. GTF (Gene Transfer Format) is a refined version of GTF. The | |
78 first eight fields are the same as GFF. Only chromosome and genome | |
79 coordinates are updated. The format of output is determined from the input. | |
80 | |
81 NOTE: | |
82 | |
83 - Each feature (exon, intron, UTR, etc) is processed separately and | |
84 independently, and we do NOT check if features originally belonging to | |
85 the same gene were converted into the same gene. | |
86 - If user want to liftover gene annotation files, use BED12 format. | |
87 | |
88 Please see `the manual <http://crossmap.sourceforge.net/#convert-gff-gtf-format-files>`__ for more details | |
89 ]]></help> | |
90 | |
91 <citations> | |
92 <citation type="doi">10.1093/bioinformatics/btt730</citation> | |
93 </citations> | |
94 </tool> |