Mercurial > repos > vmarcon > giveinfofasta
changeset 0:2d76b1e109d4 draft default tip
1st Uploaded
author | vmarcon |
---|---|
date | Mon, 06 Feb 2017 13:50:53 -0500 |
parents | |
children | |
files | giveinfofasta.xml tool_dependencies.xml |
diffstat | 2 files changed, 46 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/giveinfofasta.xml Mon Feb 06 13:50:53 2017 -0500 @@ -0,0 +1,40 @@ +<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>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Feb 06 13:50:53 2017 -0500 @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="repet" version="2.5"> + <repository changeset_revision="f3b6009634b1" name="package_repet_2_5" owner="vmarcon" toolshed="https://toolshed.g2.bx.psu.edu" /> + </package> +</tool_dependency>