pachterlab / seqspec

machine-readable file format for genomic library sequence and structure
MIT License
114 stars 17 forks source link

Fixes #37

Closed detrout closed 7 months ago

detrout commented 7 months ago

This important change is the guaranteed deterministic deduplication function. which would fix https://github.com/pachterlab/seqspec/issues/36

But it also has 2 changes for the tests, a function for loading variables as seqspecs, and a test for another function.

Then there's a change to map_read_id_to_regions to give a more useful error message if it can't find a read id or a region. it throws the same exception if a list comprehension is empty, it's just the error text includes the name of the thing being searched for, and what was being searched against.

I added it to help me debugging a seqspec