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

bam diff should exit with a return code #54

Open
hisplan opened this issue Feb 28, 2019 · 0 comments
Open

bam diff should exit with a return code #54

hisplan opened this issue Feb 28, 2019 · 0 comments

Comments

@hisplan
Copy link

hisplan commented Feb 28, 2019

It would be great if bam diff returns an exit code (0 for identical, 1 for different) just like the diff command does. This will allow us to do something like:

$ bam diff --in1 sample1.bam --in2 sample2.bam --all --out cmp
$ test $? -eq 0 && echo "Identical" || echo "Different"
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