ibest / ARC

Assembly by Reduced Complexity (ARC)
Apache License 2.0
41 stars 5 forks source link

Check for idx file and don't re-index if it exists #10

Closed samhunter closed 11 years ago

samhunter commented 11 years ago

Often times it is advantageous to be able to restart ARC, either because it became obvious that a few more iterations were necessary, or because a different set of targets could be used with the same reads.

For very large projects, it can take minutes/hours to index the massive reads files, so rather than do this, check whether working_dir and idx files exist already, and don't create them if they do.

Currently these folders/files are not deleted when ARC exists (it is up to the user to clean these up) so the change should be easy to implement.

samhunter commented 11 years ago

This is fixed, however if ARC crashes partway through, some of the intermediate files in the working_* folders can still cause ARC to crash. These will need to be cleaned up by the user for the time being.