Skip to content

Commit

Permalink
Merge branch 'hotfix/0.7.60'
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsydes committed Aug 30, 2019
2 parents 1954999 + d71c3a4 commit ea9cf8c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.59
0.7.60
2 changes: 1 addition & 1 deletion prost/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Autogenerated via git flow.
__version__ = '0.7.59'
__version__ = '0.7.60'
13 changes: 12 additions & 1 deletion prost/prost.py
Original file line number Diff line number Diff line change
Expand Up @@ -4645,7 +4645,18 @@ def tsv_no_hits(self, conf, samples, short_seqs, alignments):
row.append(";".join(locs))

# Soft Clipped?
row.append(loc.is_soft_clipped)
if count_no_hit_gen_locs > max_locs_allowed:
row.append("MLAE:{}".format(count_no_hit_gen_locs))
elif count_no_hit_gen_locs > max_locs_to_report:
row.append("TML:{}".format(count_no_hit_gen_locs))
elif count_no_hit_gen_locs == 0:
# no "no_hit" locations...
row.append("")
else:
locs = []
for loc in no_hit_gen_locs:
locs.append("{}".format(loc.is_soft_clipped))
row.append(";".join(locs))

# Save
rows.append(row)
Expand Down

0 comments on commit ea9cf8c

Please sign in to comment.