Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Psy-Fer committed Dec 3, 2019
1 parent d50c36a commit ca5d117
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pip3 install Keras tensorflow-gpu Pandas PyTs Scikit-learn numba==0.45.0 -->

## Running the software

python3 deeplexicon.py -p ~/top/fast5/path/ -f multi -m model/pAmps-rep2-4-train1_newdata_nanopore_UResNet20v2_model.039.h5 > output.tsv
python3 deeplexicon.py -p ~/top/fast5/path/ -f multi -m model/pAmps-final-actrun_newdata_nanopore_UResNet20v2_model.030.h5 > output.tsv


Please note, the current algorithm has been trained to demultiplex the 4 barcodes shown above. It will not accurately demultiplex reads if different sequences are used.
Expand Down
4 changes: 2 additions & 2 deletions deeplexicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def main():
cm = round(float(c), 4)
if args.verbose:
print_verbose("cm is: {}".format(cm))
print("{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}".format(fast5s[readID], readID, barcde_out[out], cm, prob[0], prob[1], prob[2], prob[3]))
print("{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}".format(fast5s[readID], readID, barcode_out[out], cm, prob[0], prob[1], prob[2], prob[3]))
labels = []
images = []
fast5s = {}
Expand Down Expand Up @@ -307,7 +307,7 @@ def main():
cm = round(float(c), 4)
if args.verbose:
print_verbose("cm is: {}".format(cm))
print("{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}".format(fast5s[readID], readID, barcde_out[out], cm, prob[0], prob[1], prob[2], prob[3]))
print("{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}".format(fast5s[readID], readID, barcode_out[out], cm, prob[0], prob[1], prob[2], prob[3]))
labels = []
images = []
fast5s = {}
Expand Down

0 comments on commit ca5d117

Please sign in to comment.