annotate README @ 1:f2e4e81f3639

Add tool_dependencies.xml and test-data
author Jim Johnson <jj@umn.edu>
date Mon, 01 Apr 2013 10:57:16 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
1 **What it does**
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 This tool uses the samtools view command in SAMTools toolkit to filter a SAM or BAM file on the MAPQ (mapping quality), FLAG bits, Read Group, Library, or region.
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 **Input**
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
7 Input is either a SAM or BAM file.
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 **Output**
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 The output file will be of the same format a the Input file, filtered by the selected options.
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 **Options**
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 Filtering by read group or library requires headers in the input SAM or BAM file.
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 If regions are specified, only alignments overlapping the specified regions will be output. An alignment may be given multiple times if it is overlapping several regions.
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 A region can be presented, for example, in the following format
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 chr2 (the whole chr2)
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 chr2:1000000 (region starting from 1,000,000bp)
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 chr2:1,000,000-2,000,000 (region between 1,000,000 and 2,000,000bp including the end points).
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 Note: The coordinate is 1-based.
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 Multiple regions may be specified, separated by a space character
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 chr2:1000000-2000000 chr2:1,000,000-2,000,000 chrX
f2e4e81f3639 Add tool_dependencies.xml and test-data
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29