Mercurial > repos > artbio > small_rna_signatures
view overlapping_reads.xml @ 2:320e06bf99b9 draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 5cf421cdafd250995172684a9db0ac8acbb350b5
author | artbio |
---|---|
date | Wed, 30 Aug 2017 05:40:18 -0400 |
parents | 6f1378738798 |
children | 4d9682bd3a6b |
line wrap: on
line source
<tool id="overlapping_reads" name="Get overlapping reads" version="0.9.1"> <description /> <requirements> <requirement type="package" version="0.11.2.1=py27_0">pysam</requirement> </requirements> <stdio> <exit_code range="1:" level="fatal" description="Tool exception" /> </stdio> <command detect_errors="exit_code"><![CDATA[ samtools index '$input' && python '$__tool_directory__'/overlapping_reads.py --input '$input' --minquery '$minquery' --maxquery '$maxquery' --mintarget '$mintarget' --maxtarget '$maxtarget' --overlap '$overlap' --output '$output' ]]></command> <inputs> <param format="bam" label="Compute signature from this bowtie standard output" name="input" type="data" /> <param help="'23' = 23 nucleotides" label="Min size of query small RNAs" name="minquery" size="3" type="integer" value="23" /> <param help="'29' = 29 nucleotides" label="Max size of query small RNAs" name="maxquery" size="3" type="integer" value="29" /> <param help="'23' = 23 nucleotides" label="Min size of target small RNAs" name="mintarget" size="3" type="integer" value="23" /> <param help="'29' = 29 nucleotides" label="Max size of target small RNAs" name="maxtarget" size="3" type="integer" value="29" /> <param help="'10' = 10 nucleotides overlap" label="Overlap (in nt)" name="overlap" size="3" type="integer" value="10" /> </inputs> <outputs> <data format="fasta" label="pairable reads" name="output" /> </outputs> <tests> <test> <param ftype="bam" name="input" value="sr_bowtie.bam" /> <param name="minquery" value="23" /> <param name="maxquery" value="29" /> <param name="mintarget" value="23" /> <param name="maxtarget" value="29" /> <param name="overlap" value="10" /> <output file="paired.fa" ftype="fasta" name="output" /> </test> </tests> <help> **What it does** Extract reads with overlap signatures of the specified overlap (in nt) and return a fasta file of these "pairable" reads. See `Antoniewski (2014)`_ for background and details .. _Antoniewski (2014): https://link.springer.com/protocol/10.1007%2F978-1-4939-0931-5_12 **Input** A **sorted** BAM alignment file. **Outputs** a fasta file of pairable reads such as : >FBgn0000004_17.6|5839|R|26 TTTTCGTCAATTGTGCCAAATAGGTA >FBgn0000004_17.6|5855|F|23 TTGACGAAAATGATCGAGTGGAT where FBgn0000004_17.6 stands for the chromosome, 5839 stands for the 1-based read position, R stand for reverse strand (F forward strand) and 26 stands for the size of the read. the second sequence in this example is a read that overlap by 10 nt with the first read. </help> <citations> <citation type="doi">10.1007/978-1-4939-0931-5_12</citation> </citations> </tool>