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

Check insertion and deletion blast files #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

elcortegano
Copy link

In many instances, no deletions or insertions are present in blast files, resulting in errors reported by cat and rm. For example:

cat: test.deletion_blast: No such file or directory
rm: cannot remove 'ref_segment.fa': No such file or directory
rm: cannot remove 'temp.blast2': No such file or directory

Now, insertion and deletion blast files are only sorted (and later removed) when they exist.

In many instances, no deletions or insertions are present in blast files, resulting in errors reported by `cat` and `rm`. Not insertion and deletion blast files are only sorted (and later removed) when they exist.
The END block of `awk` does not check whether the NR variable is NULL or not, which sometimes results in "fatal: division by zero attempted" errors. The code changes prevent this error.
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.

1 participant