Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bedGraphToBigWig error in README example #2

Open
jmschrei opened this issue Sep 23, 2020 · 3 comments
Open

bedGraphToBigWig error in README example #2

jmschrei opened this issue Sep 23, 2020 · 3 comments

Comments

@jmschrei
Copy link

Howdy

I was working through the example, and when I got to the following code snippet

# get coverage of 5’ positions of the plus strand
bedtools genomecov -5 -bg -strand + \
        -g hg38.chrom.sizes -ibam merged.bam \
        | sort -k1,1 -k2,2n > plus.bedGraph

# get coverage of 5’ positions of the minus strand
bedtools genomecov -5 -bg -strand - \
        -g hg38.chrom.sizes -ibam merged.bam \
        | sort -k1,1 -k2,2n > minus.bedGraph

# Convert bedGraph files to bigWig files
bedGraphToBigWig plus.bedGraph hg38.chrom.sizes plus.bw
bedGraphToBigWig minus.bedGraph hg38.chrom.sizes minus.bw

I encountered the following error when running bedGraphToBigWig using hg38.chrom.sizes from http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.chrom.sizes:

chrEBV is not found in chromosome sizes file

@akundaje
Copy link

akundaje commented Sep 23, 2020 via email

@jmschrei
Copy link
Author

This is the experiment used in the README example: https://www.encodeproject.org/experiments/ENCSR000EGM/ It's CTCF in K562.

@zahoorz
Copy link
Collaborator

zahoorz commented Sep 24, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants