annotate psltobigpsl.xml @ 4:beb6e2ef1b45 draft

planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
author yating-l
date Fri, 03 Feb 2017 13:03:59 -0500
parents 107373c01472
children 4776e061493a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
107373c01472 planemo upload
yating-l
parents:
diff changeset
1 <tool id="pslToBigPsl" name="pslToBigPsl" version="0.1.0">
107373c01472 planemo upload
yating-l
parents:
diff changeset
2 <requirements>
107373c01472 planemo upload
yating-l
parents:
diff changeset
3 </requirements>
107373c01472 planemo upload
yating-l
parents:
diff changeset
4 <stdio>
107373c01472 planemo upload
yating-l
parents:
diff changeset
5 <exit_code range="1:" />
107373c01472 planemo upload
yating-l
parents:
diff changeset
6 </stdio>
107373c01472 planemo upload
yating-l
parents:
diff changeset
7 <command><![CDATA[
4
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
8 $__tool_directory__/pslToBigPsl
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
9 '${input}'
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
10 #if $add_input.input_type == "both"
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
11 -cds='${input_cds}'
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
12 -fa='${input_fa}'
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
13 #elif $add_input.input_type == "fa"
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
14 -fa='${input_fa}'
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
15 #elif $add_input.input_type == "cds"
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
16 -cds='${input_cds}'
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
17 #end if
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
18 output
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
19 && sort -k1,1 -k2,2n output > '${output_sorted}'
0
107373c01472 planemo upload
yating-l
parents:
diff changeset
20 ]]></command>
107373c01472 planemo upload
yating-l
parents:
diff changeset
21 <inputs>
107373c01472 planemo upload
yating-l
parents:
diff changeset
22 <param name="input" label="Psl file" type="data" format="psl" />
4
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
23 <conditional name="add_input">
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
24 <param name="input_type" type="select" label="Provide FASTA and CDS files">
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
25 <option value="no">No</option>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
26 <option value="both">Provide both FASTA and CDS files</option>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
27 <option value="fa">Provide FASTA file</option>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
28 <option value="cds">Provide CDS file</option>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
29 </param>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
30 <when value="both">
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
31 <param name="input_fa" type="data" format="fasta" label="Input FASTA file" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
32 <param name="input_cds" type="data" format="tabular" label="Input CDS file" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
33 </when>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
34 <when value="fa">
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
35 <param name="input_fa" type="data" format="fasta" label="Input FASTA file" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
36 </when>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
37 <when value="cds">
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
38 <param name="input_cds" type="data" format="tabular" label="Input CDS file" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
39 </when>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
40 <when value="no">
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
41 </when>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
42 </conditional>
0
107373c01472 planemo upload
yating-l
parents:
diff changeset
43 </inputs>
107373c01472 planemo upload
yating-l
parents:
diff changeset
44 <outputs>
4
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
45 <data name="output_sorted" format="bed" />
0
107373c01472 planemo upload
yating-l
parents:
diff changeset
46 </outputs>
4
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
47 <tests>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
48 <test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
49 <param name="input" value="amaVit1_Gallus_gallus.psl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
50 <param name="input_type" value="no" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
51 <output name="output_sorted" value="out.bigpsl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
52 </test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
53 <test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
54 <param name="input" value="amaVit1_Gallus_gallus.psl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
55 <param name="input_type" value="fa" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
56 <param name="input_fa" value="Gallus_gallus_RefSeq.fa" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
57 <output name="output_sorted" value="out_fa.bigpsl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
58 </test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
59 <test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
60 <param name="input" value="amaVit1_Gallus_gallus.psl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
61 <param name="input_type" value="cds" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
62 <param name="input_cds" value="Gallus_gallus_RefSeq.cds" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
63 <output name="output_sorted" value="out_cds.bigpsl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
64 </test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
65 <test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
66 <param name="input" value="amaVit1_Gallus_gallus.psl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
67 <param name="input_type" value="both" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
68 <param name="input_fa" value="Gallus_gallus_RefSeq.fa" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
69 <param name="input_cds" value="Gallus_gallus_RefSeq.cds" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
70 <output name="output_sorted" value="out_both.bigpsl" />
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
71 </test>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
72 </tests>
0
107373c01472 planemo upload
yating-l
parents:
diff changeset
73 <help><![CDATA[
107373c01472 planemo upload
yating-l
parents:
diff changeset
74 Transform a Psl format file to a Bed format file.
107373c01472 planemo upload
yating-l
parents:
diff changeset
75 Input: Psl File
107373c01472 planemo upload
yating-l
parents:
diff changeset
76 Ouput: BigPsl File
107373c01472 planemo upload
yating-l
parents:
diff changeset
77 ]]></help>
4
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
78 <citations>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
79 <citation type="bibtex">@article{kent2002blat,
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
80 title={BLAT—the BLAST-like alignment tool},
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
81 author={Kent, W James},
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
82 journal={Genome research},
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
83 volume={12},
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
84 number={4},
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
85 pages={656--664},
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
86 year={2002},
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
87 publisher={Cold Spring Harbor Lab}
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
88 }</citation>
beb6e2ef1b45 planemo upload for repository https://github.com/Yating-L/psltobigpsl.git commit 6815597fe564030e70de3ffe147374e8c6dfcdf5-dirty
yating-l
parents: 0
diff changeset
89 </citations>
0
107373c01472 planemo upload
yating-l
parents:
diff changeset
90 </tool>