| 1 | # Using Barcode_split |
| 2 | |
| 3 | `Barcode_split` is a simple tool to split summary sequencing files according to barcodes. |
| 4 | |
| 5 | ## User interface |
| 6 | |
| 7 | `Barcode_split` was designed to be used either through a python Application programming interface (API) for Jupyter notebook or a command line interface (CLI). |
| 8 | |
| 9 | ### Jupyter API |
| 10 | |
| 11 | * [Barcode_split API usage notebook](Barcode_split/API_usage) |
| 12 | |
| 13 | ### Shell CLI |
| 14 | |
| 15 | * [Barcode_split CLI usage notebook](Barcode_split/CLI_usage) |
| 16 | |
| 17 | |
| 18 | ## IO and options |
| 19 | |
| 20 | `Barcode_split` requires at least one sequencing_summary.txt file generated with either Albacore or Guppy, but it can also take multiple files similar to pycoQC |
| 21 | |
| 22 | If barcodes information are not contained in the summary file it is also possible to pass externally provided barcodes from either earlier versions Guppy and Deepbinner. |
| 23 | |
| 24 | Output summary files split by barcodes are created in a user defined directory (default = current dir) and prefixed according to the barcode name. |
| 25 | |
| 26 | By default `Barcode_split` doesn't generate files for unclassified and low frequency barcodes, which are likely to be false positive. Users can control this behaviour be requestion unclassified reads (`output_unclassified`), |
| 27 | and changing the low frequency threshold (`min_barcode_percent`). |
| 28 | |
| 29 | At the end of execution `Barcode_split` print a summary of the barcodes found. |
| 30 | |
| 31 | ``` |
| 32 | Counts Write |
| 33 | barcode02 2 False |
| 34 | barcode07 1 False |
| 35 | barcode08 30 False |
| 36 | barcode09 9945 True |
| 37 | barcode10 12644 True |
| 38 | barcode11 13594 True |
| 39 | barcode12 9813 True |
| 40 | unclassified 3971 False |
| 41 | ``` |