[Biopython] iterating over FeatureLocation
Michael Thon
mike.thon at gmail.com
Mon Jan 13 15:09:41 UTC 2014
I need to iterate over all the features of a sequence, and then iterate over the locations/sublocations in each feature. I’m not sure how to work with the sublocations though:
I need to do something like this:
for feat in seq.features:
for loc in feat.locations:
start = loc.start
…
which does not work but maybe shows what I need to do. Can anyone help me out?
More information about the Biopython
mailing list