Skip to content

Commit

Permalink
Merge pull request #1 from gesinecauer/torm_bug
Browse files Browse the repository at this point in the history
torm is a filter that removes beads with 0 reads. The lower half of c…
  • Loading branch information
gesinecauer authored Mar 13, 2018
2 parents cd6c547 + 0c5bb6c commit 509a8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastis/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def run_pm2(directory):
verbose=options["verbose"])
X = pm2.fit(counts)

torm = np.array((counts.sum(axis=0) == 0)).flatten()
torm = np.array(((counts + counts.transpose()).sum(axis=0) == 0)).flatten()

X[torm] = np.nan

Expand Down

0 comments on commit 509a8f5

Please sign in to comment.