Mercurial > repos > nml > quasitools
comparison complexity_bam.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="complexity_bam" name="Complexity BAM" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> | |
| 2 <macros> | |
| 3 <import>macros.xml</import> | |
| 4 </macros> | |
| 5 <expand macro="requirements"/> | |
| 6 <command detect_errors="exit_code"><![CDATA[ | |
| 7 | |
| 8 ln -s $input_bam '${input_bam.name}' && | |
| 9 ln -s $input_bam.metadata.bam_index '${input_bam.name}.bai' && | |
| 10 | |
| 11 quasitools complexity bam '$ref_file' '${input_bam.name}' $k -f '$filter_size' -o output.csv | |
| 12 | |
| 13 ]]></command> | |
| 14 <inputs> | |
| 15 <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" /> | |
| 16 <param name="input_bam" type="data" format="bam" optional="false" label="BAM file" /> | |
| 17 <param name="k" type="integer" label="k-mer size" value="0" min="0" /> | |
| 18 <param name="filter_size" type="integer" label="Filter size" value="0" min="0" /> | |
| 19 </inputs> | |
| 20 <outputs> | |
| 21 <data format="csv" name="output" from_work_dir="output.csv" /> | |
| 22 </outputs> | |
| 23 <tests> | |
| 24 <test> | |
| 25 <param name="ref_file" value="generated.fasta" /> | |
| 26 <param name="input_bam" value="generated.bam" /> | |
| 27 <param name="k" value="200" /> | |
| 28 <param name="filter_size" value="0" /> | |
| 29 <output name="output" > | |
| 30 <assert_contents> | |
| 31 <has_text text="Position" /> | |
| 32 <has_text text="0" /> | |
| 33 </assert_contents> | |
| 34 </output> | |
| 35 </test> | |
| 36 </tests> | |
| 37 | |
| 38 <help><![CDATA[ | |
| 39 Quasispecies Complexity | |
| 40 ======================= | |
| 41 | |
| 42 Calculates various quasispecies complexity measures on next generation sequenced data from a BAM file and it's corresponding reference file. | |
| 43 | |
| 44 The measures of complexity are taken from the following work: | |
| 45 Gregori, Josep, et al. "Viral quasispecies complexity measures." Virology 493 (2016): 227-237. | |
| 46 | |
| 47 | |
| 48 ]]></help> | |
| 49 <expand macro="citations" /> | |
| 50 </tool> |
