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

Remove old files #30

Open
JoseBlanca opened this issue Nov 8, 2010 · 1 comment
Open

Remove old files #30

JoseBlanca opened this issue Nov 8, 2010 · 1 comment
Labels

Comments

@JoseBlanca
Copy link
Owner

It would be nice to have the chance to remove the files that won't be needed anymore when an analysis is done. In that way a lot of disk space could be saved. For instance the different verions of the annotation database are useless.

Not all the files used should be considered old, though. For instance raw reads shouldn't because they have information, like extra low quality reads, not present in the cleaned reads.

This behaviour should be configurable in the configuration file by a parameter in the general section called remove_old_file. Should this parameter set be default to True or to False?

The implementation could be a method in the Analysis class named clean_old_reads. The daugther classes could reimplemented. Alternatively this reinplementation could be saved if the files to remove are defined in the analyses description like the input and output files are. In that way the method in the Analysis class could take care in most cases.

@pziarsolo
Copy link
Collaborator

What happend with bam files. At the moment we have three merged bam files:
merge analysis, realign analysis and calmd analysis. Plus the bams for each read file.

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

2 participants