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

Added filenames to "Unmatched SAI magic" message #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zestrada
Copy link

This was helpful for me debugging a problem so I thought others may find it useful. I realize that the loop over two files may seem silly to some, but it made sense from a "DRY" perspective since I wanted to output which file did not have the magic number.

Here's an example:

# dd if=/dev/urandom of=./chr1_2.sai count=81 bs=1K
# ~/bwa/bwa sampe ./chr1.fa chr1_1.sai chr1_2.sai small1.fq small2.fq > bad.sam
[E::bwa_sai2sam_pe_core] Unmatched SAI magic in file "chr1_2.sai". Please re-run `aln' with the same version of bwa.

mvdbeek pushed a commit to mvdbeek/bwa that referenced this pull request Nov 9, 2017
ONT source code changes to compile with MSVC 14
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

Successfully merging this pull request may close these issues.

None yet

1 participant