Skip to content

Commit

Permalink
Merge pull request #35 from peterjc/strand_fix
Browse files Browse the repository at this point in the history
Strand fix to work with Biopython 1.82
  • Loading branch information
ialbert authored Jan 5, 2024
2 parents 676bcec + 5e59d06 commit 438ec66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion biorun/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def record_generator(rec):
brec = BioRec(id=uid, ann=ann, parent=parent, seq=seq, type=ftype, desc=desc, source=rec.id)

# Correct the feature coordinates.
brec.strand = feat.strand
brec.strand = feat.location.strand

brec.start, brec.end = int(feat.location.start) + 1, int(feat.location.end)
brec.locs = [(loc.start + 1, loc.end, loc.strand) for loc in
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
biopython == 1.81
biopython >= 1.80
requests
tqdm
pytest
Expand Down

0 comments on commit 438ec66

Please sign in to comment.