rrazaghi / modbamtools

Set of tools to manipulate and visualize modified base bam files
Apache License 2.0
49 stars 4 forks source link

How to use modbamtools cluster for multiple modbams? #22

Open PanZiwei opened 1 year ago

PanZiwei commented 1 year ago

Hi, I am trying to find differentially clustered reads with multiple modbams, but am confused about the formatting multiple modbams as it is not mentioned in the tutorial.

The command I am using:

modbamtools cluster --bed ${input_path}/gene.bed \
    --threads ${THREAD} \
    --out ${input_path}/genes_clustered.bed \
    ${bam_path}/sample1.bam ${bam_path}/sample2.bam

The error I got:

Error: Got unexpected extra arguments (/fastscratch/c-panz/sample2.bam)

Would really appreciate it if you can clarify the input format requirement. Thank you!