annotate bam_to_bigwig.xml @ 7:77114c36b8ab draft default tip

planemo upload
author marpiech
date Mon, 29 Aug 2016 07:28:10 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
1 <tool id="bam_to_bigwig" name="BAM to BigWig" version="0.2.0">
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
2
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
3 <description>Calculates coverage from a BAM alignment file</description>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
4
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
5 <requirements>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
6 <requirement type="package" version="0.8.3">pysam</requirement>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
7 <requirement type="package" version="2.24">bedtools</requirement>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
8 <requirement type="package" version="312">ucsc_tools</requirement>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
9 </requirements>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
10
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
11 <command detect_errors="aggressive" interpreter="python"><![CDATA[
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
12 bam_to_bigwig.py $align --outfile=$out --split
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
13 ]]></command>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
14
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
15 <inputs>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
16 <param format="bam" name="align" type="data" label="BAM alignment file"/>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
17 </inputs>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
18
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
19 <outputs>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
20 <data format="bigwig" name="out" />
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
21 </outputs>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
22
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
23 <tests>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
24 <test>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
25 <param name="align" value="bam_to_bigwig_test.bam"/>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
26 <output name="out" file="bam_to_bigwig_test.bigwig"/>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
27 </test>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
28 </tests>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
29
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
30 <help><![CDATA[
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
31 **What it does**
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
32
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
33 Creates a coverage file in BigWig format, given a BAM alignment file.
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
34
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
35 Gaps or skips (CIGAR D or N operators) are not counted towards the coverage
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
36 calculation, which is important when mapping RNA Seq reads to genes with
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
37 introns.
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
38
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
39 **Input**
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
40
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
41 A BAM alignment file. This needs to have the genome database build used in
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
42 alignment annotated. If your file has '?' for the database build, click on the
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
43 pencil icon to edit the alignment attributes, and specify the organism used to
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
44 align against.
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
45
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
46 **Output**
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
47
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
48 BigWig files can be loaded directly from Galaxy into the UCSC browser. They can
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
49 be loaded incrementally by UCSC, so a single file can be used to represent the
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
50 entire genome without having to upload the entire thing as a custom track.
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
51
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
52 ]]></help>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
53
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
54 <citations>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
55 <citation type="doi">10.1093/bioinformatics/btp352</citation>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
56 <citation type="doi">10.1093/bioinformatics/btq033</citation>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
57 </citations>
77114c36b8ab planemo upload
marpiech
parents:
diff changeset
58 </tool>