Mercurial > repos > jjkoehorst > sapp
view fasta2rdf/fastatordf.xml @ 9:3f4f1cd22a6a
FASTA 2 RDF code cleanup
author | jjkoehorst <jasperkoehorst@gmail.com> |
---|---|
date | Sat, 21 Feb 2015 15:38:26 +0100 |
parents | ec73c34af97b |
children | 0773b11fb822 |
line wrap: on
line source
<tool id="SAPP_genome_to_ttl" name="FASTA to RDF" version="0.1"> <description></description> <command interpreter="python3">fastatordf.py '-input' '$input' '-output' '$output' '-organism' '$organism' '-ncbi_taxid' '$ncbi_taxid' '-idtag' '$identification_tag' -sourcedb SAPP #for $index, $id in enumerate( $ids ) '-ids' '$id.id_tag' #end for '-id_alternative' '$input.name' </command> <inputs> <param size="60" name="input" type="data" format="fasta,fa" label="File for annotation, file types used fasta,fa"/> <param size="60" name="organism" type="text" format="text" label="organism name" optional="false"/> <param size="60" name="ncbi_taxid" type="text" format="text" label="NCBI taxonomy ID"/> <param size="60" name="identification_tag" type="text" format="text" label="An identification tag used for RDF storage !Needs to be very unique!" optional="false"/> <repeat name="ids" title="Identification tags"> <param size="60" name="id_tag" type="text" format="text" label="An identification tag used by other consortiums"/> </repeat> </inputs> <outputs> <data format="rdf" name="output" label="genomeTTL: ${input.name}" /> </outputs> <tests> <test> <param name="input" value="test-data/NC_017117.fna"/> <output name="$output" file="NC_017117.rdf"/> <output name="$ncbi_taxid" value="634455"/> <output name="$idtag" value="Acetobacter pasteurianus IFO 3283-22"/> <output name="$organism" value="Acetobacter pasteurianus IFO 3283-22"/> </test> </tests> <help> Genome FASTA file to RDF</help> </tool>