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

overlapping regions in bedgraph file prevent creation of bigwig file #2

Open
rosbashlab opened this issue Sep 18, 2018 · 6 comments
Open

Comments

@rosbashlab
Copy link

chr2L 6026 6046 1
chr2L 6040 6067 1

chr2L 6883 6902 1
chr2L 6987 7008 2
chr2L 8328 8346 1
chr2L 8346 8349 2
chr2L 8349 8378 1

Overlapping regions in bedgraph file is creating errors when I try to create bigwig files from the bedgraph files. I used "bedGraphToBigWig" for this purpose.

In addition, when I used the CITS.pl script I received a bed file out of bound error. There were some entries in the *.tag.uniq.bed file which started from -1. The code worked fine when I removed the out of bound entries from the *.tag.uniq.bed file.

@zhangchaolin
Copy link
Collaborator

Hi,
I am surprised that you get overlapping regions if you uses tools in CTK to generate bedGraph files. We will be happy to figure it out what it happens if you can provide the input files and the command line.

For the second question, it could occur in some rare circumstances when the tag is mapped to the extremity of the chromosome, and we still try to get the upstream nucleotide as potential crosslink sites. This is more likely to occur when you included unassembled genomic contig sequences as part of your reference during mapping. A work around for now is to remove those reads, but we will fix this issue for the next release.

Also, we are trying to keep tracking all the questions and answers to better help the research community, so you are welcome to use our CTK user group if you have more questions:

https://groups.google.com/forum/#!members/ctk-user-group

Chaolin

@rosbashlab
Copy link
Author

Here is the command line code:
perl tag2profile.pl -v -big -ss -exact -of bedgraph -n "Unique Tag Profile" Hrp48_fusion.tag.uniq.rgb.bed Hrp48_fusion.tag.uniq.bedgraph

Please sort the output bedgraph file to see the overlapping entries.

Hrp48_fusion.tag.uniq.rgb.bed.gz

@zhangchaolin
Copy link
Collaborator

zhangchaolin commented Sep 20, 2018 via email

@rosbashlab
Copy link
Author

rosbashlab commented Sep 20, 2018 via email

@chaolinzhanglab
Copy link
Collaborator

chaolinzhanglab commented Sep 20, 2018 via email

@huangyingzhang
Copy link

Hi. Have you solved this overlapping problem when using bedGraphToBigWig.

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