Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiy-Garber authored Feb 19, 2022
1 parent c4735e4 commit dda721d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions FeGenie.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ def delim(line):
SummaryDict[cell][orf]["hmmBit"] = hmmBit
SummaryDict[cell][orf]["category"] = category

# ****************************** CLUSTERING OF ORFS BASED ON GENOMIC PROXIMITY *************************************
# ************************** CLUSTERING OF ORFS BASED ON GENOMIC PROXIMITY *********************************
if not args.orfs:
print("Identifying genomic proximities and putative operons")
CoordDict = defaultdict(lambda: defaultdict(list))
Expand Down Expand Up @@ -2435,16 +2435,14 @@ def delim(line):
hemeb = len(re.findall(r'G(.)[HR](.)C[PLAV]G', seq))
hbm = len(re.findall(r'[STC][AVILMFYWH][ST]P[ST]', seq))
out.write(
ls[0] + "," + ls[1] + "," + str(idxDict[ls[2]]) + "," + ls[3] + "," + ls[4] + "," + ls[
ls[0] + "," + ls[1] + "," + ls[2] + "," + ls[3] + "," + ls[4] + "," + ls[
5] + "," + ls[6] + "," + ls[7] + "," + str(hemeb) + "," + str(hbm) + "," + ls[
8] + "," + ls[9] + "," + ls[10] + "\n")
out.write(
"#####################################################################################################"
"#####################################################################################################\n")
else:
for j in summaryDict[i]:
if re.findall(r'Cyc2', j):
print(j)
ls = j.split(",")
seq = ls[8]
hemeb = len(re.findall(r'G(.)[HR](.)C[PLAV]G', seq))
Expand Down

0 comments on commit dda721d

Please sign in to comment.