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

fix (callVariant): no reference node issue #843

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

- Fixed parseCIRCexplorer so the exon/intron indices in variant IDs are sorted correctly.

- Fixed `callVariant` of 'no reference out node found'. #842

## [1.2.1] - 2023-10-05

### Add
Expand Down
2 changes: 1 addition & 1 deletion moPepGen/svgraph/ThreeFrameTVG.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def is_out_bond_to_any_root(self, node:TVGNode):
@staticmethod
def is_reference_edge(in_node:TVGNode, out_node:TVGNode):
""" checks if this is a reference edge """
if out_node.is_reference() and out_node.subgraph_id == in_node.subgraph_id:
if out_node.is_reference() and out_node.subgraph_id == in_node.get_last_subgraph_id():
return True
in_vars = {x.variant for x in in_node.variants}
out_vars = {x.variant for x in out_node.variants}
Expand Down
Loading