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

Question on using bam by chr for EH analysis #190

Open
methionine23 opened this issue Feb 23, 2024 · 3 comments
Open

Question on using bam by chr for EH analysis #190

methionine23 opened this issue Feb 23, 2024 · 3 comments

Comments

@methionine23
Copy link

Hello, I wonder if anyone has experiences and thoughts on running EH using a sub bam (eg bams of one chr or an assembly for many samples). Certainly need to figure out MAP 0 and off target reads/region. Will that work?

@andreasssh
Copy link

Do you mean that you first align reads on all chromosomes and then subsetting a chromosome/gene/etc. from that file and running EH on the subsetted BAM?

@methionine23
Copy link
Author

yes, also similar for a situation when I have bam per chr (or contig) instead of as in one bam. Any suggestions?

@andreasssh
Copy link

That's fine, works well. Only caveat is that if you want to use off-target regions then indeed, can't use reads aligned on a different chromosome if it is not present in your BAM. However, for expanded alleles you can still get a repeat estimate somewhere between read and fragment length (without using offtargets), which you can then investigate further and run on a full BAM if possible...

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