pachterlab / seqspec

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

Improve tests, add downloading barcodes, and a new barcode list format. #30

Closed detrout closed 8 months ago

detrout commented 8 months ago

Hi,

In this commit history I added support for older versions of matplotlib, fixed up some of the tests that were disabled when the example assays got split to a different repository, and I added some tests to seqspec print. I also had to add a new color because my small example used the "custom_primer" type which didn't have a color assigned.

As for the useful onlist barcode features I added code to download remote barcode lists and put them into a local file, including on the fly decompression of gzip files if the url ends in .gz. I then added code to output barcode files in kallistos multiple barcode lists are stored in one file separated by spaces. It keeps the current behavior as the default, but adds an option to switch to the kallisto format.

This history is based on the current main and doesn't involve the libspec changes.

Let me know if there's any adjustments you'd like to make it a better choice to merge.