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

bamutil diff speed ups? #7

Open
avilella opened this issue May 21, 2013 · 1 comment
Open

bamutil diff speed ups? #7

avilella opened this issue May 21, 2013 · 1 comment

Comments

@avilella
Copy link

I am trying to generate 2 bam files that are the differences between 2 bams using bamutil diff.
http://genome.sph.umich.edu/wiki/BamUtil:_diff#Usage

After trying it for a while, I find it's exaclty what I need, but it's taken a long time (more than 10 hours and running) to compare two human 30x builds:

~/src/bamUtil/bin/bam diff --mapQual --onlyDiffs --recPoolSize 100000 --posDiff 100000 --in1 $bam1 --in2 $bam2 --out onlyDiffs.bam

Any ideas what I can do to speed it up?

@mktrost
Copy link
Contributor

mktrost commented May 21, 2013

You could try reducing the posDiff to a lower number. But then it will be
less likely to find matching records that are aligned that far apart.

I am trying to generate 2 bam files that are the differences between 2 bams
using bamutil diff.
http://genome.sph.umich.edu/wiki/BamUtil:_diff#Usage

After trying it for a while, I find it's exaclty what I need, but it's
taken a long time (more than 10 hours and running) to compare two human 30x
builds:

~/src/bamUtil/bin/bam diff --mapQual --onlyDiffs --recPoolSize 100000
--posDiff 100000 --in1 $bam1 --in2 $bam2 --out onlyDiffs.bam

Any ideas what I can do to speed it up?


Reply to this email directly or view it on
GitHubhttps://github.com//issues/7
.

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