Mercurial > repos > bgruening > deeptools
diff bamCoverage.xml @ 43:c5787c91cab8 draft
Uploaded
author | bgruening |
---|---|
date | Tue, 04 Feb 2014 09:02:21 -0500 |
parents | 20f8dafb554f |
children | b9feca1f07f0 |
line wrap: on
line diff
--- a/bamCoverage.xml Tue Feb 04 08:56:19 2014 -0500 +++ b/bamCoverage.xml Tue Feb 04 09:02:21 2014 -0500 @@ -1,4 +1,4 @@ -<tool id="deeptools_bamCoverage" name="bamCoverage" version="1.0.3"> +<tool id="deeptools_bamCoverage" name="bamCoverage" version="1.0.4"> <description> generates a coverage bigWig file from a given BAM file. Multiple options are available to count reads and normalize coverage. (bam2bigwig)</description> <expand macro="requirements" /> <expand macro="stdio" /> @@ -31,8 +31,8 @@ --scaleFactor $scaling.scaleFactor #end if - #if str(region).strip() != '': - --region 'region' + #if str($region).strip() != '': + --region '$region' #end if #if $advancedOpt.showAdvancedOpt == "yes": @@ -133,18 +133,16 @@ **What it does** -Given a BAM file, this tool generates a bigWig or bedGraph file of fragment or read coverages. +Given a BAM file, this tool generates a bigWig or bedGraph file with genome-wide coverage of fragment or read coverages. The way the method works is by first calculating all the number of reads (either extended to match the fragment length or not) -that overlap each bin in the genome. Bins with zero counts are skipped, i.e. not added to the output file. +that overlap each bin (a region of fixed length, i.e. 25 bp) in the genome. Bins with zero counts are skipped, i.e. not added to the output file. The resulting read counts can be normalized using either a given scaling factor, the RPKM formula or to get a 1x depth of coverage (RPGC). .. image:: $PATH_TO_IMAGES/norm_IGVsnapshot_indFiles.png -You can find more details in the `bamCoverage wiki`_. - -.. _bamCoverage wiki: https://github.com/fidelram/deepTools/wiki/Normalizations#wiki-bamCoverage +You can find more details on the bamCoverage wiki page: https://github.com/fidelram/deepTools/wiki/Normalizations#wiki-bamCoverage **Output files**: