Mercurial > repos > morinlab > read_counter
comparison read_counter.xml @ 0:cac6401377d2 draft default tip
planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/read_counter commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
| author | morinlab |
|---|---|
| date | Tue, 11 Oct 2016 14:29:02 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:cac6401377d2 |
|---|---|
| 1 <tool id="read_counter" name="readCounter" version="0.1.1"> | |
| 2 <description> | |
| 3 Get Binned Read Distribution for a Sequence Alignment File | |
| 4 </description> | |
| 5 <requirements> | |
| 6 <requirement type="package" version="0.1.1">hmmcopy</requirement> | |
| 7 </requirements> | |
| 8 <command> | |
| 9 <![CDATA[ | |
| 10 | |
| 11 ln -s $input_bam input.bam; | |
| 12 ln -s $input_bam.metadata.bam_index input.bam.bai; | |
| 13 | |
| 14 #if $interval | |
| 15 for i in \$( cat $interval ); do | |
| 16 #end if | |
| 17 | |
| 18 readCounter | |
| 19 | |
| 20 #if $interval | |
| 21 -c \$i | |
| 22 #end if | |
| 23 | |
| 24 input.bam >> $output | |
| 25 | |
| 26 #if $interval | |
| 27 ; done | |
| 28 #end if | |
| 29 | |
| 30 ]]> | |
| 31 </command> | |
| 32 <inputs> | |
| 33 <param type="data" format="bam" name="input_bam" label="Specify BAM Alignment File"/> | |
| 34 <param type="data" format="bed,txt" name="interval" label="Specify Interval" optional="true"/> | |
| 35 </inputs> | |
| 36 <outputs> | |
| 37 <data format="wig" name="output"/> | |
| 38 </outputs> | |
| 39 </tool> |
