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

[matlock bamfilt] --over filtered? #9

Open
zhaotao1987 opened this issue Apr 15, 2022 · 0 comments
Open

[matlock bamfilt] --over filtered? #9

zhaotao1987 opened this issue Apr 15, 2022 · 0 comments

Comments

@zhaotao1987
Copy link

zhaotao1987 commented Apr 15, 2022

Hello, I did reads-mapping and sorting using the following, then I used matlock for the filtering.

## 1. make index file for the assembly.
        bwa index -a bwtsw $assembly
## 2. align hi-c reads
        bwa mem -t $cpu -5SP  $assembly $hic_1 $hic_2 |samblaster | samtools view -@10 -S -h -b -F 2316 > hic_reads.aligned.bam
## 3. sort reads
        samtools sort -@10 -n hic_reads.aligned.bam -o hic_reads.aligned.sorted.bam

filtering:

matlock bamfilt \
-i hic_reads.aligned.sorted.bam \
-o hic_reads.aligned.sorted.cleaned.bam

Then my raw 88G bam now reduced to ~0.9G. I'm very happy at first, also using hic_qc.py it seems the percentages are getting better.
But when I used such a result for 3ddna or allhic, it seems didn't work well probably due to very low signal. what would be the reason, could you give some advice, thank you very much!
image

image

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

1 participant