3
|
1 <tool id="create_ribosome_profiles" name="Create Ribosome Profiles" version="1.a">
|
0
|
2 <description>Produce a sorted bed file from a sorted BAM file with the option of introducing an offset to the A-Site of a ribosome protected fragment.</description>
|
|
3 <requirements>
|
3
|
4 <requirement type="package" version="1.73">biopython</requirement>
|
0
|
5 <requirement type="package" version="0.19.0">pysam</requirement>
|
|
6 </requirements>
|
1
|
7 <command>python $__tool_directory__/bam_to_ribosome_profile.py ${input1} ${input2} ${input3} ${input4} ${output1}</command>
|
0
|
8 <inputs>
|
|
9 <param name="input1" type="data" format="bam" label="BAM file to process"/>
|
|
10 <param name="input2" type="integer" value="15" label="Offset to use" help="Use 15 for elongating ribosomes, 12 for initiating and 0 form RNA-seq reads"/>
|
|
11 <param name="input3" type="data" format="fasta" label="FASTA file to which the reads were aligned"/>
|
|
12 <param name="input4" type="select" label="Approach" help ="Use Offset for RNase and Weight for MNase">
|
|
13 <option value="offset" selected="true">Use offset approach</option>
|
|
14 <option value="weight">Use weight centered approach</option>
|
|
15 </param>
|
|
16 </inputs>
|
|
17 <outputs>
|
2
|
18 <data name="output1" format="bed"/>
|
0
|
19 </outputs>
|
|
20 <tests>
|
|
21 <test>
|
|
22 <param name="input1" value="test.bam.sorted"/>
|
|
23 <param name="input2" value="15"/>
|
|
24 <param name="input3" value="sacCer3_transcripts.fasta"/>
|
|
25 <param name="input4" value="offset"/>
|
2
|
26 <output name="output1" file="test.bam.sorted.bed.sorted " ftype="bed" lines_diff="4" />
|
0
|
27 </test>
|
|
28 </tests>
|
|
29 <help>
|
|
30 **What it does**
|
|
31
|
|
32 Produce a sorted bed file from a sorted BAM file with the option of introducing an offset to the A-Site of a ribosome protected fragment.
|
|
33
|
|
34 </help>
|
|
35 <citations/>
|
|
36 </tool>
|