Skip to content

Commit

Permalink
Modify annotate ISFinder script
Browse files Browse the repository at this point in the history
  • Loading branch information
bvalot committed Nov 29, 2019
1 parent 34473fa commit de73475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion annotateISresult.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def headerOut(header):

## load gffs informations
gffs = gff.read_gff(args.gff, args.feature)
print(str(len(gffs)))
# print(str(len(gffs)))

## Verify ISFinder input
## Sample Chromosome Start_Position Stop_Position Potential_sequence Potential_IS Alignment
Expand Down
2 changes: 2 additions & 0 deletions lib/gff.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def read_gff(fi, feature):
break
if line[0] == "#":
continue
if line == "":
continue
pos = Pos(line.rstrip("\n").split("\t"))
if pos.feature == feature:
gffs.append(pos)
Expand Down

0 comments on commit de73475

Please sign in to comment.