Mercurial > repos > rnateam > splitfasta
diff splitFasta.xml @ 0:f6d6b62540f8 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/splitfasta commit 03f3cc2000e6ce876a3cb44c55c3fe878a2e7ce3-dirty
author | rnateam |
---|---|
date | Fri, 16 Oct 2015 16:13:08 -0400 |
parents | |
children | 87bdbac78136 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/splitFasta.xml Fri Oct 16 16:13:08 2015 -0400 @@ -0,0 +1,44 @@ +<tool id="rbc_splitfasta" name="Split Fasta" version="0.2.0"> + <description>files into a collection</description> + <requirements> + <requirement type="package" version="1.65">biopython</requirement> + </requirements> + <stdio> + <exit_code range="1:" /> + </stdio> + <command interpreter="python"> + <![CDATA[ + splitFasta.py $inputFile + ]]></command> + <inputs> + <param name="inputFile" type="data" format="fasta" label="Fasta file to split"/> + </inputs> + <outputs> + <collection name="splitted_fasta" type="list" label="Sequence collection in FASTA format"> + <discover_datasets pattern="(?P<designation>.*)" directory="splits" ext="fasta" visible="false"/> + </collection> + </outputs> + <tests> + <test> + <param name="inputFile" value="test.fasta" /> + <output_collection name="splitted_fasta"> + <element name="ID1.fasta" file="ID1_result1.fasta" ftype="fasta" /> + <element name="ID2.fasta" file="ID2_result1.fasta" ftype="fasta" /> + <element name="ID3.fasta" file="ID3_result1.fasta" ftype="fasta" /> + </output_collection> + </test> + </tests> + <help><![CDATA[ + Takes an input file and writes each consecutive two lines to a separate file, in a dataset collection. + ]]></help> + <citations> + <citation type="bibtex"> + @ARTICLE{bgruening_galaxytools, + Author = {Björn Grüning, Cameron Smith, Torsten Houwaart, Nicola Soranzo, Eric Rasche}, + keywords = {bioinformatics, ngs, galaxy, cheminformatics, rna}, + title = {{Galaxy Tools - A collection of bioinformatics and cheminformatics tools for the Galaxy environment}}, + url = {https://github.com/bgruening/galaxytools} + } + </citation> + </citations> +</tool>