# HG changeset patch # User simon-gladman # Date 1372139336 14400 # Node ID 5dfc014a8b3a3af40ec5aa2dfb58b807410857e7 # Parent bcb73a63ffeeb8965eb8e427add19a00fde45e7c Uploaded diff -r bcb73a63ffee -r 5dfc014a8b3a fa-extract-sequence.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fa-extract-sequence.xml Tue Jun 25 01:48:56 2013 -0400 @@ -0,0 +1,38 @@ +<tool id="fa-extract-sequence" name="Fasta Extract Sequence" version="1.0.0"> + <description>Extract a single sequence from a fasta file.</description> + <command interpreter="perl"> + fa-extract-few.pl + -f $dataset + $id + > + $output + </command> + <inputs> + <param name="dataset" type="data" format="fasta" label="fasta or multifasta file" help="fasta dataset to get statistics for."/> + <param name="id" type="text" label="Sequence ID (or partial)" help="Name of the sequence to extract. Will also match partial names and return all matches." /> + </inputs> + <outputs> + <data name="output" format="fasta" label="${tool.name} on ${on_string}: Fasta"/> + </outputs> + + <help> +**Fasta Extract Sequence** +Extracts a fasta sequence from a multfasta by id (exact or partial) + +Written by Torsten Seemann - Victorian Bioinformatics Consortium + +Wrapped by Simon Gladman - Victorian Bioinformatics Consortium + +------ + +Outputs in fasta format. + +------ + +Inputs: + +Fasta dataset + +Sequence id + </help> +</tool>