annotate README.txt @ 6:9163e1db4c16 draft default tip

planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
author lparsons
date Thu, 12 May 2016 11:39:13 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
1 Convert a BAM file into a BigWig coverage file. This can be used directly from
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
2 Galaxy for display at UCSC. The advantage over standard Wiggle format is that
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
3 the data is stored in a compressed format and can be retrieved by genome
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
4 region. This allows you to view regions of arbitrarily large Wiggle file data
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
5 at UCSC while avoiding the upload costs.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
6
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
7 History
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
8 -------
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
9
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
10 v0.2.0 add a sort step after genomeCoverageBed which is required in some
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
11 instances otherwise bedGraphToBigWig will complain. This version also uses
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
12 Galaxy's dependency mechanism, added some tests, and updated some formatting.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
13 By Lance Parsons.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
14
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
15 v0.1.1 passes the forgotten split argument and moves to using the new
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
16 sub-command enabled bedtools. Thanks to David Leader.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
17
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
18 As of v0.1.0, the Galaxy tools uses a revised bam_to_bigwig.py script using
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
19 genomeCoverageBed and bedGraphToBigWig - this approach allows gaps/skpis to
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
20 be excluded from the coverage calculation, which is important for RNA-Seq.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
21
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
22 Until v0.0.2, this Galaxy tool used the bam_to_wiggle.py script from
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
23 https://github.com/chapmanb/bcbb/blob/master/nextgen/scripts/bam_to_wiggle.py
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
24 which internally used pysam (and thus samtools) and wigToBigWig from UCSC.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
25
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
26 Requirements
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
27 ------------
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
28
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
29 If you are installing this tool manually, place the Python script in the
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
30 same directory as the XML configuration file, or provide a soft link to it.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
31 Ensure the following command line tools are on the system path:
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
32
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
33 pysam - Python interface to samtools (http://code.google.com/p/pysam/)
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
34 genomeCoverageBed - part of BedTools (http://code.google.com/p/bedtools/)
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
35 bedGraphToBigWig - from UCSC (http://hgdownload.cse.ucsc.edu/admin/exe/)
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
36
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
37 Credits
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
38 -------
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
39
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
40 Original script by Brad Chapman, revisions from Peter Cock including the
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
41 switch to using genomeCoverageBed and bedGraphToBigWig based on the work
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
42 of Lance Parsons.
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
43
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
44 License
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
45 ------
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
46
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
47 The code is freely available under the MIT license:
9163e1db4c16 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/bam_to_bigwig/ commit b5c3df21127fc27f66a97761173c07e161f2fa8e
lparsons
parents:
diff changeset
48 http://www.opensource.org/licenses/mit-license.html