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