Skip to content

Problem with scaleFactor setting in bamCoverage #482

@ycl6

Description

@ycl6

Hi,

I am using bamCoverage to generate signal file for viewing on UCSC. So I choose to output as bedGraph format because I need to edit the chrom prefix before I convert it to bigwig. I set the scaleFactor as follow

bamCoverage --numberOfProcessors 10 --scaleFactor 0.9022 --binSize 1 --outFileFormat bedgraph --filterRNAstrand forward --bam file.bam -o forward.bedGraph

But when I view the output file, it seems the values are not scaled. Why is it so?

1       1640711 1640713 6
1       1640713 1640725 8
1       1640725 1640726 12
1       1640726 1640778 16
1       1640778 1640780 14
1       1640780 1640844 12
1       1640844 1640853 10
1       1640853 1640854 4
1       1640854 1640857 2
1       1640857 1640879 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions