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

sambamba-markdup: Unexpected '-' when converting from type string to type ulong #476

Open
ls233 opened this issue May 6, 2021 · 1 comment

Comments

@ls233
Copy link

ls233 commented May 6, 2021

I'm getting this error using sambamba/0.5.6 on centOS 7.

"sambamba-markdup: Unexpected '-' when converting from type string to type ulong"

my command is:
sambamba markdup -t --tmpdir $tmpdir $filtered.sorted.bam undup.bam

Any leads?

@rorynolan
Copy link

I just had a similar problem myself.
The problem is you have -t --tmpdir
-t is the number of threads specifier: it expects the next character (after the space) to be numeric but instead it sees the - from --tmpdir.
To do with one thread, you should do sambamba markdup -t 1 --tmpdir $tmpdir $filtered.sorted.bam undup.bam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants