Mercurial > repos > nml > quasitools
comparison aacoverage.xml @ 0:1f1214983a1c draft default tip
planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
| author | nml |
|---|---|
| date | Mon, 20 Jun 2022 20:05:57 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:1f1214983a1c |
|---|---|
| 1 <tool id="aacoverage" name="Amino Acid Coverage" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> | |
| 2 <description>Builds an aa census and returns its coverage</description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements"/> | |
| 7 <command detect_errors="exit_code"><![CDATA[ | |
| 8 | |
| 9 ln -s $input_bam '${input_bam.name}' && | |
| 10 ln -s $input_bam.metadata.bam_index '${input_bam.name}.bai' && | |
| 11 | |
| 12 quasitools aacoverage '${input_bam.name}' $ref_file $input_genes -o output.csv | |
| 13 | |
| 14 ]]></command> | |
| 15 <inputs> | |
| 16 <param name="input_bam" type="data" format="bam" optional="false" label="Bam file" /> | |
| 17 <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" /> | |
| 18 <param name="input_genes" type="data" format="bed" optional="false" label="Gene file" /> | |
| 19 </inputs> | |
| 20 <outputs> | |
| 21 <data format="csv" name="output" from_work_dir="output.csv" /> | |
| 22 </outputs> | |
| 23 <tests> | |
| 24 <test> | |
| 25 <param name="input_bam" value="align.bam" /> | |
| 26 <param name="ref_file" value="hxb2_pol.fas" /> | |
| 27 <param name="input_genes" ftype="bed" value="hxb2_pol.bed" /> | |
| 28 <output name="output" > | |
| 29 <assert_contents> | |
| 30 <has_text text="frame: 0" /> | |
| 31 <has_text text="1,0" /> | |
| 32 <has_text text="948,1" /> | |
| 33 </assert_contents> | |
| 34 </output> | |
| 35 </test> | |
| 36 </tests> | |
| 37 <help><![CDATA[ | |
| 38 | |
| 39 Amino Acid Coverage | |
| 40 =================== | |
| 41 | |
| 42 Builds an amino acid census and returns its coverage. | |
| 43 | |
| 44 **Output** | |
| 45 | |
| 46 A file with one entry per line with the AA position and the coverage at the position. | |
| 47 | |
| 48 ]]></help> | |
| 49 <expand macro="citations" /> | |
| 50 </tool> |
