I have set of SecRecord objects with SeqFeature.location.start and I want to transform this coordinate into integer to compare to other sets of coordinates, add shifts etc.. How can I do that? I have read Biopython cookbook, but I still can't solve the problem.
Have you tried nofuzzy_start instead of start?
http://biopython.org/DIST/docs/api/Bio.SeqFeature.FeatureLocation-class.html
In the soon to be released Biopython 1.59 the position objects will be subclasses of int, so you won't need to do anything.
Well, I converted it first into string, then into integer, is there a more elegant solution?
Goog idea.thanks!
can you give more of your code?