Mercurial > repos > vmarcon > giveinfofasta
comparison giveinfofasta.xml @ 0:2d76b1e109d4 draft default tip
1st Uploaded
author | vmarcon |
---|---|
date | Mon, 06 Feb 2017 13:50:53 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2d76b1e109d4 |
---|---|
1 <tool id="giveinfofasta" name="GiveInfoFasta" version="0.1.0"> | |
2 <requirements> | |
3 <requirement type="package" version="2.5">repet</requirement> | |
4 </requirements> | |
5 <stdio> | |
6 <exit_code range="1:" /> | |
7 </stdio> | |
8 <command><![CDATA[ | |
9 GiveInfoFasta.py -i ${input} ${stat} | |
10 && | |
11 cp ${input}.stats ${output_stats} | |
12 ]]></command> | |
13 <inputs> | |
14 <param name="input" type="data" format="fasta" label="Input file (format='fasta')"/> | |
15 <param name="stat" type="boolean" checked="false" truevalue="-l" falsevalue="" label="Give stats for each input sequence" help="Default=No"/> | |
16 <param name="label" type="text" label="Output name" help="Optionnal"/> | |
17 </inputs> | |
18 <outputs> | |
19 <data name="output_stats" format="txt" label="#if str($label)=='' then $input.name else $label #.stats"/> | |
20 </outputs> | |
21 <help><![CDATA[ | |
22 Give Information about your Fasta File | |
23 GiveInfoFasta is a tool from the REPET suite | |
24 -i: name of the input file (format='fasta') | |
25 -l: give stats for each input sequence | |
26 -o: name of the output file (default=inFileName+.'stats') | |
27 -v: verbose (default=0/1) | |
28 | |
29 **Authors** | |
30 Valentin Marcon | |
31 | |
32 ]]></help> | |
33 <tests> | |
34 <test> | |
35 <param name="input" value="input"/> | |
36 <param name="stat" value="-l"/> | |
37 <output name="output_stats" file="output"/> | |
38 </test> | |
39 </tests> | |
40 </tool> |