Skip to content

Basic support for embedded reference sequence in alignments - #1991

Merged
mergify[bot] merged 4 commits into
tskit-dev:mainfrom
jeromekelleher:alignments-refseq
Dec 6, 2021
Merged

mergify[bot] merged 4 commits into
tskit-dev:mainfrom
jeromekelleher:alignments-refseq

Conversation

@jeromekelleher

Copy link
Copy Markdown
Member

Closes #1888

Finally!

@codecov

codecov Bot commented Dec 2, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #1991 (d7326f3) into main (4ae99f0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1991   +/-   ##
=======================================
  Coverage   93.36%   93.36%           
=======================================
  Files          27       27           
  Lines       25536    25542    +6     
  Branches     1111     1113    +2     
=======================================
+ Hits        23841    23847    +6     
  Misses       1660     1660           
  Partials       35       35           
Flag Coverage Δ
c-tests 92.37% <ø> (ø)
lwt-tests 89.05% <ø> (ø)
python-c-tests 72.07% <13.33%> (-0.04%) ⬇️
python-tests 98.80% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
python/tskit/tables.py 98.87% <ø> (ø)
python/tskit/text_formats.py 100.00% <100.00%> (ø)
python/tskit/trees.py 97.81% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ae99f0...d7326f3. Read the comment docs.

@jeromekelleher
jeromekelleher force-pushed the alignments-refseq branch 3 times, most recently from c0f48f7 to 0ee39df Compare December 3, 2021 16:13
@jeromekelleher
jeromekelleher marked this pull request as ready for review December 3, 2021 16:13
@jeromekelleher

Copy link
Copy Markdown
Member Author

OK, this is ready for review I think!

I ended up doing a small bit of rearranging on the metadata docs as well, just to give me something to link to when discussing reference sequence metadata.

Pinging @hyanwong and @benjeffery for some review.

@hyanwong hyanwong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me, although I don't feel super qualified to check it all. Should we warn somewhere that we don't (yet) support alleles with len(allele) != 1?

Comment thread python/tskit/tables.py Resolved
Comment thread python/tskit/trees.py Resolved
@jeromekelleher

Copy link
Copy Markdown
Member Author

updated, thanks @hyanwong

@benjeffery benjeffery left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, a couple of doc comments

Comment thread python/tskit/tables.py Resolved
Comment thread python/tskit/tables.py Resolved
@jeromekelleher

Copy link
Copy Markdown
Member Author

OK, all done @benjeffery - I think we're ready to merge!

@mergify
mergify Bot merged commit 2a42740 into tskit-dev:main Dec 6, 2021
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.

Implement default behaviour for alignments once reference_sequence is implemented

3 participants