Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
374b2a8
feat: add PangraphLoadError for improved error handling in JSON loading
mmolari Mar 27, 2026
66560e1
fix: update method name for loading graph from JSON in PyPangraph
mmolari Mar 27, 2026
0bfa099
fix: ensure default nodes in Path constructor are not shared
mmolari Mar 27, 2026
198dfc7
refactor: reorganize minimal synteny units and topology utilities, up…
mmolari Mar 27, 2026
fd6316d
feat: add functions to perform junction analysis to pypangraph and re…
mmolari Apr 29, 2026
e13f3f7
docs: include description of the method to documentation
mmolari Apr 29, 2026
cb96412
Merge branch 'master' into feat/pypangraph-junctions
mmolari May 27, 2026
c873179
feat: junction code cleanup and streamlining
mmolari May 27, 2026
aff4e08
fix: python 3.9 compatibility
mmolari May 27, 2026
2dbc69a
feat: throw error when <2 core blocks
mmolari May 27, 2026
4e0dcfe
chore: improve performance of sequence extraction via caching
mmolari May 27, 2026
e7b48a1
feat: dropped unused code
mmolari May 27, 2026
12951b8
test: linear paths
mmolari May 27, 2026
e02d0bd
feat: make block ids strings everywhere
mmolari May 27, 2026
7bc2a15
feat: make assert ValueErrors
mmolari May 27, 2026
7c3c133
docs: update docstrings
mmolari May 27, 2026
7c7b07f
feat: removed dead code
mmolari May 27, 2026
1787b46
style: renamed Path and Node class in topology
mmolari May 27, 2026
1a4d36d
test: add minimal_synteny_units value tests and clarify fixture block…
mmolari May 27, 2026
12a929d
test: add more complex test case
mmolari May 28, 2026
a9f80e8
refactor: consistent naming of path -> walk and node -> oriented block
mmolari May 28, 2026
deb1cb2
refactor: walk.nodes -> walk.oriented_blocks
mmolari May 28, 2026
c584cc3
refactor: ruff lint checks
mmolari May 28, 2026
71b97db
feat: removed junction_dataframe
mmolari May 28, 2026
6fb85fe
docs: removed junction dataframe
mmolari May 28, 2026
e0a7d18
docs: add junction scheme
mmolari May 29, 2026
ae5a920
feat: add n empty junction count in stats and rename stat columns
mmolari May 29, 2026
f157cc2
docs: refined pypangraph tutorial 6
mmolari May 29, 2026
286da3b
feat: add Junction.oriented_blocks method to flatten left + center + …
mmolari Jun 1, 2026
7b82c62
docs: pypangraph tutorial 7
mmolari Jun 1, 2026
bdd7706
refactor: shorter repr for oriented blocks and walks
mmolari Jun 1, 2026
13eba8e
refactor: edge-centric subscript access on BackboneJunctions
mmolari Jun 1, 2026
deb1e8d
refactor: hoist canonical-direction predicate into Edge
mmolari Jun 1, 2026
8bb20e7
refactor: add Junction.to_canonical helper
mmolari Jun 1, 2026
3296392
feat: add linear_junction_plot to pypangraph.plots
mmolari Jun 1, 2026
2abdfa1
docs: pypangraph t7 tutorial draft
mmolari Jun 1, 2026
12ba8ad
fix(pypangraph): restore Python 3.9 compatibility in linear_junction_…
mmolari Jun 2, 2026
de4c67e
refactor(pypangraph): swap BackboneJunctions.positions() index order …
mmolari Jun 2, 2026
7942626
docs: t8 pypangraph tutorial draft
mmolari Jun 2, 2026
c56918c
docs: review pass on pypangraph t7/t8 tutorials
mmolari Jun 2, 2026
2d6d309
docs: expand t8 with clfA disruption example and tighten headings
mmolari Jun 2, 2026
a9edac9
docs: update changelog
mmolari Jun 2, 2026
1f40e12
docs: fix pypangraph t06/t08 tutorial typos and threshold inequality
mmolari Jun 2, 2026
337db95
docs: edits to junction intro
rneher Jun 2, 2026
0fc46ea
docs: small edits to junction-stats
rneher Jun 2, 2026
3531d7a
docs: minor changes
mmolari Jun 3, 2026
cf3151e
fix: guard pypangraph __eq__ against foreign types and correct block …
mmolari Jun 4, 2026
94c3a79
fix: make Junction.invert() None-robust and raise on canonical of ter…
mmolari Jun 4, 2026
1a17bf7
test: split test_junctions.py into core/analyses/inversion files
mmolari Jun 4, 2026
a9eb4d4
fix: set circular=False on junction center walks in path_junction_split
mmolari Jun 8, 2026
f0e22de
fix: round-trip underscore-containing block ids in OrientedBlock.from…
mmolari Jun 8, 2026
9829ab6
fix: annotate Junction flanks as Optional to match None-flank runtime
mmolari Jun 8, 2026
dd42f9a
docs: document that BackboneJunctions requires >=2 backbone blocks pe…
mmolari Jun 8, 2026
2e3f669
docs: fix junction export filename in t08 tutorial to match built json
mmolari Jun 8, 2026
30a66a2
refactor: rename is_core param node_id to block_id in core_paths
mmolari Jun 8, 2026
4d4a863
refactor: expose BackboneJunctions.block_stats and use it in linear_j…
mmolari Jun 8, 2026
c896bd1
perf: replace quadratic component merging in find_mergers with union-…
mmolari Jun 8, 2026
8c0a2ff
docs: replace em dashes and bold definition labels in junction tutorials
mmolari Jun 8, 2026
3be1b07
docs: remove speculative TODO in junction_stats
mmolari Jun 8, 2026
9b4d152
fix: use explicit exception chaining in IndexedCollection.__getitem__
mmolari Jun 8, 2026
8a542e0
docs: add DOI citations for IS256, clfA, and SCCmec claims in t08
mmolari Jun 8, 2026
f132054
feat: scaffold streamlined GFA export from core-edge sets
mmolari Jun 9, 2026
912c3b0
refactor: add GFA class and rename junction-context export
mmolari Jun 9, 2026
50662ae
feat: add optional length rescaling to GFA.write
mmolari Jun 9, 2026
9322a95
docs: add junction-untangling tutorial and quote Bandage colour CSVs
mmolari Jun 9, 2026
44c84c1
docs: link to junction-context untangling from build and projection t…
mmolari Jun 9, 2026
9c14554
docs: fix t09 typos and correct --no-duplicated flag name in tutorials
mmolari Jun 9, 2026
06e15a2
style: add Python 3.9-compatible type hints to GFA export
mmolari Jun 9, 2026
9a435e3
perf: hoist block-stat lookups and track segment kind in junction GFA…
mmolari Jun 10, 2026
fee5a47
docs: normalize dashes and reword scaffold=all summary in t09
mmolari Jun 10, 2026
099d137
fix: count accessory block repeats per junction in GFA export depth
mmolari Jun 10, 2026
b6533df
Merge pull request #183 from neherlab/feat/streamlined-gfa-export
mmolari Jun 10, 2026
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: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ PyPangraph is a python package with convenient utilities to load and explore the
```python
import pypangraph as pp

graph = pp.Pangraph.load_graph("graph.json")
graph = pp.Pangraph.from_json("graph.json")
print(graph)
# pangraph object with 15 paths, 137 blocks and 1042 nodes
```
Expand Down
Binary file added docs/docs/assets/pp_t6_core_edge_scheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t6_junction_scheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t7_linear_junction_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t7_stats_scheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t7_stripplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t7_transitive_scheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t8_bandage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t8_mafft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t8_positions_scheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t9_large_pangraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t9_scaffold_all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t9_scheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t9_tangled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/pp_t9_untangled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading