I am planning to use [bam2fastx][1] tool for converting the BAM files from PacBio sequencing to fastq. (I prefer a command line tool over SMRT link). However, I cannot find any manual for this tool. 

The help says that there is an option called `--split-barcodes` for demultiplexing. However, there is no information about the format to provide the barcodes in. My sequencing data contains ~120 asymmetrically PCR-barcoded samples. How do I split the data into multiple files using this tool? 


  [1]: https://github.com/pacificbiosciences/bam2fastx/
Documentation for the commands can be found in the official [SMRTanalysis guide][1]. I don't see any way to specify index sequences so it must be recognizing official PacBio indexes. There is [one more page here][2].


  [1]: https://www.pacb.com/wp-content/uploads/SMRT_Tools_Reference_Guide_v600.pdf
  [2]: https://devhub.io/repos/PacificBiosciences-bam2fastx