Skip to content

Commit

Permalink
added readcount_min
Browse files Browse the repository at this point in the history
  • Loading branch information
ploy-np committed Oct 29, 2020
1 parent c362584 commit f6d4c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpore/scripts/dataprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def parallel_preprocess_tx(out_dir,n_processes,readcount_min,readcount_max,resum
n_reads = 0
data_dict = dict()
for read_id in f[tx_id].keys():
if (n_reads > readcount_min) adn (n_reads < readcount_max):
if (n_reads > readcount_min) and (n_reads < readcount_max):
data_dict[read_id] = f[tx_id][read_id]['events'][:]
read_ids += [read_id]
n_reads += 1
Expand Down

0 comments on commit f6d4c05

Please sign in to comment.