Mercurial > repos > crusoe > khmer
annotate count-median.xml @ 14:d1403ee80c1e
Name tools
| author | Michael R. Crusoe <mcrusoe@msu.edu> |
|---|---|
| date | Sun, 29 Jun 2014 10:33:35 -0400 |
| parents | cec78b574760 |
| children | c1f0790be1c4 |
| rev | line source |
|---|---|
| 14 | 1 <tool id="gedlab-khmer-count-median" |
| 10 | 2 name="Count Median" |
| 3 version="1.1-1" | |
| 4 force_history_refresh="true"> | |
| 5 | |
| 6 <description> | |
| 7 Count the median/avg k-mer abundance for each sequence in the input file, | |
| 8 based on the k-mer counts in the given k-mer counting table. Can be used to | |
| 9 estimate expression levels (mRNAseq) or coverage (genomic/metagenomic). | |
| 10 </description> | |
| 11 <macros> | |
|
11
cec78b574760
Actually import the macros
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
10
diff
changeset
|
12 <token name="@BINARY@">count-median.py</token> |
|
cec78b574760
Actually import the macros
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
10
diff
changeset
|
13 <import>macros.xml</import> |
| 10 | 14 </macros> |
| 15 <expand macro="requirements" /> | |
| 16 <command> | |
| 17 ## The command is a Cheetah template which allows some Python based syntax. | |
| 18 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces | |
| 19 mkdir output; cd output; | |
| 20 @BINARY@ | |
| 21 $input_counting_table_filename | |
| 22 $input_sequence_filename | |
| 23 $output_summary_filename | |
| 24 </command> | |
| 25 | |
| 26 <inputs> | |
| 27 <expand macro="input_sequence_filename" /> | |
| 28 <expand macro="input_counting_table_filename" /> | |
| 29 </inputs> | |
| 30 <outputs> | |
| 31 <data name="output_summary_filename" format="text" label="${input_sequence_filename} sequence id, median, average, stddev, and seq length" /> | |
| 32 </outputs> | |
| 33 <stdio> | |
| 34 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR --> | |
| 35 <exit_code range="1:" | |
| 36 level="fatal" /> | |
| 37 </stdio> | |
| 38 | |
| 39 <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin --> | |
| 40 <tests> | |
| 41 <!-- [HELP] Test files have to be in the ~/test-data directory | |
| 42 <test> | |
| 43 <param name="input" value="input_test.tab" /> | |
| 44 <param name="int" value="10" /> | |
| 45 <output name="output" file="output_test.txt" /> | |
| 46 </test> --> | |
| 47 <!-- [HELP] Multiple tests can be defined with different parameters --> | |
| 48 <!-- | |
| 49 <test> | |
| 50 </test> | |
| 51 --> | |
| 52 </tests> | |
| 53 | |
| 54 <!-- [OPTIONAL] Help displayed in Galaxy --> | |
| 55 <!-- | |
| 56 <help> | |
| 57 </help> | |
| 58 --> | |
| 59 </tool> |
