Mercurial > repos > boris > example2
comparison example2.xml @ 0:47e1dc8b27f8 draft
Uploaded example2 first
| author | boris |
|---|---|
| date | Wed, 02 Dec 2015 22:49:57 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:47e1dc8b27f8 |
|---|---|
| 1 <tool id="formatplotfasta" name="Adjust fasta line length and plot content" version="0.0.1" force_history_refresh="True"> | |
| 2 | |
| 3 <description>Change the number of nucleotides per line in the input fasta and plot nt content </description> | |
| 4 | |
| 5 <requirements> | |
| 6 <requirement type="package" version="1.4"> matplotlib </requirement> | |
| 7 </requirements> | |
| 8 | |
| 9 <command interpreter="python"> example2.py "${infasta}" $linesize $formatted_fasta $plot </command> | |
| 10 | |
| 11 <inputs> | |
| 12 <param name="infasta" format="fasta" type="data" label="input fasta" help="no help"/> | |
| 13 <param name="linesize" type="integer" value="50" label="number of nt per line" help=" be reasonable!"/> | |
| 14 </inputs> | |
| 15 | |
| 16 <outputs> | |
| 17 <data name="formatted_fasta" format="fasta" label="${tool.name} on ${on_string}: formatted fasta"/> | |
| 18 <data name="plot" format="pdf" label="${tool.name} on ${on_string}: plot"/> | |
| 19 </outputs> | |
| 20 | |
| 21 <tests> | |
| 22 <test> | |
| 23 <param name="infasta" value="mouse_reference_mtDNA.fasta"/> | |
| 24 <param name="linesize" value="200"/> | |
| 25 <output name="formatted_fasta" file="adjusted_200_mouse_reference_mtDNA.fasta"/> | |
| 26 <output name="plot" file="mouse_reference_mtDNA.fasta_nt_counts.pdf"/> | |
| 27 </test> | |
| 28 </tests> | |
| 29 | |
| 30 <help> | |
| 31 | |
| 32 <![CDATA[ | |
| 33 Short description. | |
| 34 | |
| 35 ----- | |
| 36 | |
| 37 .. class:: infomark | |
| 38 | |
| 39 **What it does** | |
| 40 | |
| 41 Longer description. | |
| 42 | |
| 43 ----- | |
| 44 | |
| 45 .. class:: warningmark | |
| 46 | |
| 47 **Note** | |
| 48 | |
| 49 Some warining, if needed: | |
| 50 | |
| 51 ----- | |
| 52 | |
| 53 .. class:: infomark | |
| 54 | |
| 55 **Formats** | |
| 56 | |
| 57 **FASTA multiple alignment** | |
| 58 | |
| 59 See http://www.bioperl.org/wiki/FASTA_multiple_alignment_format | |
| 60 | |
| 61 ----- | |
| 62 | |
| 63 **Example** | |
| 64 | |
| 65 | |
| 66 ----- | |
| 67 | |
| 68 **Citation** | |
| 69 | |
| 70 (boris-at-bx.psu.edu) ]]> | |
| 71 | |
| 72 </help> | |
| 73 </tool> |
