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

BigWig2Bed.pl issue #1

Closed
yuhongning opened this issue Mar 27, 2017 · 2 comments
Closed

BigWig2Bed.pl issue #1

yuhongning opened this issue Mar 27, 2017 · 2 comments

Comments

@yuhongning
Copy link

Dear developer,
Your script is exactly what I am looking for to convert mappability bigwig file to bed file, however, when I tried to convert a downloaded bigwig file (http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeMapability/), it errored out on each line "Argument .... isn't numeric in addition (or multiplication) ...". Does the expected input file a "bigwig" or other type of file?

Thanks,

yuhong ning

@CancerGenome
Copy link
Owner

Hi Yuhong,

I think bigwig file has a different format with wig file. The wig file here is generated by gem-2-wig.

See this command line:
gem-2-wig -I rn5.index.gem -i rn5_100.mappability -o rn5_100 # create wig file based on raw ASCII Score
./BigWig2Bed.pl rn5_100.wig | bgzip -c > rn5_100.wig.mapQ.gz # use inhouse tool, covert BigWig format to Bed and bgzip for tabix index.

@yuhongning
Copy link
Author

yuhongning commented Aug 23, 2017 via email

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

2 participants