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

multi-mapped reads #154

Open
lindsayhrlee opened this issue Mar 14, 2024 · 3 comments
Open

multi-mapped reads #154

lindsayhrlee opened this issue Mar 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@lindsayhrlee
Copy link

Hi,

For the Hi-C data mapping, is there a way to output multi-mapped reads (bolded in the log below) separately? Or is there a way to extract only multi-mapped reads from the .pairs file? Thank you!

Number of reads: 191422464.
Number of mapped reads: 179308834.
Number of uniquely mapped reads: 53537168.
Number of reads have multi-mappings: 125771666.

Best,
Lindsay

@lindsayhrlee lindsayhrlee added the bug Something isn't working label Mar 14, 2024
@mourisl
Copy link
Collaborator

mourisl commented Mar 14, 2024

The multi-mapped reads will have mapq 0, so they will be directly filtered in Chromap's output. The default pair format does not contain MAPQ field, so it might be hard to identify multi-mapped reads based on mapq, where you can use -q 0 to include alignments with mapq 0.

@lindsayhrlee
Copy link
Author

Thank you so much for your response. Couple more question.

  1. Is there a way to speed up chromap? Can I run this in parallel? If yes, how much memory and nodes should I ask for?

  2. Is there a way to get the mapping quality for both ends for the HiC data?

@mourisl
Copy link
Collaborator

mourisl commented Mar 18, 2024

  1. You can use multithreading (-t num_of_threads). It will not increase memory consumption, and the node is one.
  2. The mapping quality is with respect to the fragment, so you can't get the information for one read end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants