Mercurial > repos > vmarcon > giveinfofasta
view giveinfofasta.xml @ 0:2d76b1e109d4 draft default tip
1st Uploaded
author | vmarcon |
---|---|
date | Mon, 06 Feb 2017 13:50:53 -0500 |
parents | |
children |
line wrap: on
line source
<tool id="giveinfofasta" name="GiveInfoFasta" version="0.1.0"> <requirements> <requirement type="package" version="2.5">repet</requirement> </requirements> <stdio> <exit_code range="1:" /> </stdio> <command><![CDATA[ GiveInfoFasta.py -i ${input} ${stat} && cp ${input}.stats ${output_stats} ]]></command> <inputs> <param name="input" type="data" format="fasta" label="Input file (format='fasta')"/> <param name="stat" type="boolean" checked="false" truevalue="-l" falsevalue="" label="Give stats for each input sequence" help="Default=No"/> <param name="label" type="text" label="Output name" help="Optionnal"/> </inputs> <outputs> <data name="output_stats" format="txt" label="#if str($label)=='' then $input.name else $label #.stats"/> </outputs> <help><![CDATA[ Give Information about your Fasta File GiveInfoFasta is a tool from the REPET suite -i: name of the input file (format='fasta') -l: give stats for each input sequence -o: name of the output file (default=inFileName+.'stats') -v: verbose (default=0/1) **Authors** Valentin Marcon ]]></help> <tests> <test> <param name="input" value="input"/> <param name="stat" value="-l"/> <output name="output_stats" file="output"/> </test> </tests> </tool>