Skip to content

Commit

Permalink
Included flag for species check
Browse files Browse the repository at this point in the history
  • Loading branch information
mezewudo committed Mar 14, 2016
1 parent dd77a56 commit 189c38b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SNPpipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def runLineage(self):
count1 += 1
elif lined[16] == "rrl":
count2 += 1
if count1 > 2 or count2 > 2 :
if count1 > 5 or count2 > 5 :
self.__logFH2.write(i.strftime('%Y/%m/%d %H:%M:%S') + "\t" + "Input:" + "\t" + self.name + "\t" + "mixed species suspected\n")
fh2.close()

Expand All @@ -458,7 +458,7 @@ def runCoverage(self):
cov_str = line.split(":")
cov = cov_str[1].strip(" ")
if int(cov) < 10:
self.__logFH2.write(i.strftime('%Y/%m/%d %H:%M:%S') + "\t" + "Input:" + "\t" + self.name + "\t" + "low genome coverage depth")
self.__logFH2.write(i.strftime('%Y/%m/%d %H:%M:%S') + "\t" + "Input:" + "\t" + self.name + "\t" + "low genome coverage depth\n")
fh2.close()

def cleanUp(self):
Expand Down

0 comments on commit 189c38b

Please sign in to comment.