By reading the documentation I get the impression that the -p switch is for running bam-readcount on multiple libraries in one go, i.e. multiple BAM files. However, I can't really figure out whether I'm supposed to supply a list of files or do something else, and I can't find any example of its usage.
Not sure if per library handled multiple BAM files. Could just be multiple libraries from a single BAM file, in which case you might need to merge BAMs
What RamRS says is true, the program is designed to run on a single BAM file only. The -p flag enables reporting by library for all libraries in a single BAM file. If you have any suggestions on how to make the documentation clearer, please let me know.
There's just a small window open for misinterpretation, and I happened to look through that window. Not sure any change is needed, but if you were to change anything I guess it would be to more explicitly state that multiple libraries in one BAM file can be analyzed.
Not sure if per library handled multiple BAM files. Could just be multiple libraries from a single BAM file, in which case you might need to merge BAMs
Ah, of course. That hadn't occurred to me but makes sense.
I'm not sure though - just something that seems plausible given the usage format in the documentation.