Skip to content

Commit fa6096b

Browse files
author
xzt41
committed
small change
1 parent b81c424 commit fa6096b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

RiboCode/RPF_count_ORF.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def readGTF(gtfFile):
3232
stop_codon_sites[orf_id] = f.iv.end_d
3333
return start_codon_sites,stop_codon_sites,ORF_features,counts
3434

35-
def invert_strand( iv ):
35+
36+
def invert_strand(iv):
3637
iv2 = iv.copy()
3738
if iv2.strand == "+":
3839
iv2.strand = "-"
@@ -42,6 +43,7 @@ def invert_strand( iv ):
4243
raise ValueError("Illegal strand")
4344
return iv2
4445

46+
4547
def count_reads(start_codon_sites,stop_codon_sites,ORF_features,counts,map_file,stranded,min_quality,count_mode,
4648
first_exclude_codons,last_exclude_codons,min_read,max_read,exclude_min_ORF):
4749

0 commit comments

Comments
 (0)