Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Delete entries

nyoungb2 edited this page Sep 24, 2013 · 1 revision

Delete entries from all tables that are associated with a particular taxon. Taxa are identified via 'taxon_name' or 'taxon_id'. Entries associated with particular loci can also be deleted.

Delete all loci in a genome

$ CLdb_delete.pl -d CLdb.sqlite -taxon_id 6666666.403

Delete locus_ids 1 through 4

$ CLdb_delete.pl -d CLdb.sqlite -q "AND locus_id IN (1,2,3,4)

Clone this wiki locally