23
23
matplotlib.use('PDF') # or Agg
24
24
file_ext = "pdf" # or png
28
30
v = seq.addAnnotation(annotation.Feature, 'exon', 'exon', [(20,35)])
29
31
v = seq.addAnnotation(annotation.Feature, 'repeat_unit', 'repeat_unit', [(39,49)])
30
32
v = seq.addAnnotation(annotation.Feature, 'repeat_unit', 'rep2', [(49,60)])