sharpton / shotmap

A Shotgun Metagenome Annotation Pipeline
GNU General Public License v2.0
23 stars 15 forks source link

Should check for sample abundance rather than sample_alt_id #1

Open timothyjlaurent opened 10 years ago

timothyjlaurent commented 10 years ago

Problem

must use --reload to re-run samples that whose runs have failed for some reason.

Proposed solution

--reload should still 'rerun' a sample but you could check for existence of sample_alt_id joined with the abundance table and not require reload to 'rerun' these. This could enable batching of sample runs and without the risk of re analyzing data.

select sample_alt_id from abundances join samples on abundances.sample_id =
 samples.sample_id and sample_alt_id = $sample;