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

protein evidence (blast or diamond) - minos_metrics_blastp_tophit fails #56

Open
dadrasarmin opened this issue Jul 5, 2022 · 0 comments

Comments

@dadrasarmin
Copy link

Hi!

I tried to feed a bunch of protein fasta files as evidence to the minos and I noticed a part of my pipeline fails always. After investigation, I noticed that minos_metrics_blastp_combine finished successfully but minos_metrics_blastp_tophit was resubmitted 3 times due to Input files updated by another job which was not true. I checked the time stamp and this job was submitted too early (almost at the same time as minos_metrics_blastp_combine). I am using minos on a local machine with a huge amount of resources. Maybe you cannot reproduce the issue with an HPC. After trying many things, this seems to solve the problem for me. I wanted to report it for future investigation by your team.

Changing this

run:
from minos.scripts.get_blast_tophit import get_blast_tophit
get_blast_tophit(input[0], output[0], params.pident_threshold, params.qcov_threshold)

To this:

    shell:
        """
        python -c 'import os; from minos.scripts.get_blast_tophit import get_blast_tophit; get_blast_tophit("{input}", "{output}", {params.pident_threshold}, {params.qcov_threshold})'
        """

Best regards,
Armin

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