annotate bowtie2bed.xml @ 12:2f4ea569f048

Uploaded
author xuebing
date Sat, 10 Mar 2012 08:10:44 -0500
parents b7f1d9f8f3bc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
1 <tool id="bowtie2bed" name="bowtie-to-bed">
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
2 <description> converter and read extender</description>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="perl">bowtie2bed.pl $input $out_file1 $extendLength </command>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
4 <inputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
5 <param name="input" format="txt" type="data" label="Bowtie map result file"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
6 <param name="extendLength" size="10" type="integer" value="200" label="Extend 3 primer (bp)"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
7 </inputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
8 <outputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
9 <data format="bed" name="out_file1" />
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
10 </outputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
11 <tests>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
12 <test>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
13 <param name="input" value="test.map" ftype="TXT"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
14 <param name="extendLength" value="200"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
15 <output name="out_file1" file="testmap.bed"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
16 </test>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
17 </tests>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
18 <help>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
19
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
20
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
21 **What it does**
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
22
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
23 This tool converts bowtie output map format file to bed format, with the option to extend the 3 primer end.
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
24
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
25 - Sequence and quality information is lost after conversion
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
26 - The output contains a track name at the first row
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
27
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
28 -----
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
29
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
30 **Example**
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
31
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
32 Converting the following bowtie mapped reads::
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
33
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
34 SRR073078.2 HWUSI-EAS465_8_1_1_524 length=36 - chr2 112499209 AGTGTGACTGCATCTCTTCCTTCGTGGGGCTNCAGT ...
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
35 SRR073078.3 HWUSI-EAS465_8_1_1_1054 length=36 + chr17 75877120 CCACNCCTCCTTTCAAAACACACTGCCAGGTGCGTC ...
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
36
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
37 will result in::
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
38
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
39 track name=/home/xuebing/Research/galaxy/galaxy-dist/database/files/000/dataset_5.dat itemRgb=On
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
40 chr2 112499109 112499245 SRR073078.2-HWUSI-EAS465_8_1_1_524-length=36 1 - 112499209 112499245 0,255,0
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
41 chr17 75877120 75877256 SRR073078.3-HWUSI-EAS465_8_1_1_1054-length=36 1 + 75877120 75877156 255,0,0
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
42
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
43 </help>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
44 </tool>