Skip to content

jeff-k/genetracks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genetracks

Generate track diagrams for genomic alignments

see examples/Genetracks.ipynb for use cases

Example

from genetracks import Figure, Track
import pysam
import sys

f = Figure()

for alignment in pysam.AlignmentFile(sys.argv[1]):
  f.add(Track(alignment.query_start, alignment.query_end))

f.show(w=900).save_svg("alignment.svg")

JSON serialisation

...

About

Diagrams for genomic sequences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages