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

v0.3.0 updates #50

Merged
merged 113 commits into from
Oct 8, 2024
Merged

v0.3.0 updates #50

merged 113 commits into from
Oct 8, 2024

Conversation

sbooeshaghi
Copy link
Collaborator

see docs/CHANGELOG.md for updates.

sbooeshaghi and others added 30 commits April 30, 2024 14:48
…ed barcode file, add a longer error message and fixing unit tests. (#39)

* Guarantee consistent ordering when removing duplicate fastq names

The Python set() does not have a guranteed order.

* Implement a load_example_spec function

Yes it's replacing 2 lines of code with one line, but it
does make doing imports easier too

* Test map_read_id_to_regions

* Give a longer error message seqspec fails to find a region or read.

Just crashing when if the lists were empty made debugging seqspecs
harder, hopefully seeing the the name that wasn't found and the list
of choices will help figure out what's wront with the spec or call

* join_onlists now processes a list of file contents

* run_onlist_region or _read returns a list of objects now

* find_onlist_file was removed

* read_list was split into two functions

So rename the test functions to better match the new names

* Extend to_YAML to also support returning seqspec as a string

This makes it behave like the yaml.dump() function.

* Re-implement testing for a local copy of single barcode files

And add a different testing implementation that's testing the
validate_onlist_args function.

I did have to return the calculated onlist_path to make it easier to
test the function.

* join_onlists was being called with the wrong argument

It needs the barcode text and not the onlist barcode metadata

* Make sure written barcode file is not double spaced

I noticed that the barcode file was being written as
AAA GGGG

GGG TTTT

and it looked like both the join_onlist functions and the write_onlist
function was adding a newline character.This removes adding the
newline from the joined list and lets the write function handle it.
…out relevant info like reads and library elements, added a USING_SEQSPEC.md
…abulary. updated seqspec tool docs to include a description of the various region types that are included in each of the seqspec index tools
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sbooeshaghi sbooeshaghi merged commit 981fdb3 into main Oct 8, 2024
1 check passed
@sbooeshaghi sbooeshaghi deleted the devel branch October 8, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants