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

Look for symlinked reference genomes #63

Open
jmtsuji opened this issue Jan 19, 2023 · 0 comments
Open

Look for symlinked reference genomes #63

jmtsuji opened this issue Jan 19, 2023 · 0 comments
Assignees
Labels

Comments

@jmtsuji
Copy link
Collaborator

jmtsuji commented Jan 19, 2023

Problem description

I ran BackBLAST release v2.0.0-alpha6 on a server running Ubuntu 20.04 LTS.

When a subject genome (in the subject_genome_directory) is a symlink, it is not added to the search pipeline.

Furthermore, if no detectable genome files are in the subject_genome_directory, BackBLAST exits with a very cryptic error message (realpath: missing operand).

Proposed solution

In generate_run_templates.sh, function add_subjects_to_config_file, the find command should include the -L flag to look for symlinks. In addition, a check should be added for whether any subject genome files were detected by find.

Possible complications

In general, generate_run_templates.sh should probably be moved to Python long-term.

@jmtsuji jmtsuji self-assigned this Jan 19, 2023
@jmtsuji jmtsuji added the bug label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant