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

Pipe third-party tool output or write to temp location #147

Open
widdowquinn opened this issue Oct 2, 2019 · 1 comment
Open

Pipe third-party tool output or write to temp location #147

widdowquinn opened this issue Oct 2, 2019 · 1 comment
Assignees
Labels
enhancement something we'd like pyani to do that it doesn't already performance the issue relates to making pyani more efficient
Milestone

Comments

@widdowquinn
Copy link
Owner

Summary:

Currently, third-party tool output (MUMmer, BLAST, etc.) is written to the output directory, and failed jobs can block re-runs.

It would be better to either pipe the output (where possible), or write it to a temporary location, so failures could be handled more gracefully.

@widdowquinn widdowquinn added the enhancement something we'd like pyani to do that it doesn't already label Oct 2, 2019
@widdowquinn widdowquinn self-assigned this Oct 2, 2019
@widdowquinn
Copy link
Owner Author

This is a filesystem issue also. Writing thousands to millions of small files to the filesystem degrades performance. They are also painfully slow to delete. A process of:

  • call 3rd party tool and write to temp location
  • check output and pull into database
  • delete output

would be cleaner, at the cost of some extra time to delete output for each job.

@widdowquinn widdowquinn added this to the 0.3.0 milestone May 28, 2020
@widdowquinn widdowquinn added the performance the issue relates to making pyani more efficient label May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement something we'd like pyani to do that it doesn't already performance the issue relates to making pyani more efficient
Projects
None yet
Development

No branches or pull requests

1 participant