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