guigolab / ggsashimi

Command-line tool for the visualization of splicing events across multiple samples
MIT License
122 stars 42 forks source link

ERROR: No available bam files. #98

Open RaghdaKailany opened 6 months ago

RaghdaKailany commented 6 months ago

Hi, I am having hard time because it keeps giving me this error. I am sure about the paths for the bam files and I have tried it different ways and paths but still giving me this error. If you can please help me.

(base) raghdakailany@raghdas-air rmats-setup % ./ggsashimi.py \ -b /Users/raghdakailany/Desktop/nep_data/wm/wm1.bam,/Users/raghdakailany/Desktop/nep_data/wm/wm2.bam,/Users/raghdakailany/Desktop/nep_data/wm/wm3.bam,/Users/raghdakailany/Desktop/nep_data/67m/67m1.bam,/Users/raghdakailany/Desktop/nep_data/67m/67m2.bam,/Users/raghdakailany/Desktop/nep_data/67m/67m3.bam \ -c 3L:19,791,935-19,800,979 \ -o ~/Desktop/plots/my_sashimi_plot \ -g /Users/raghdakailany/Desktop/nep_data/dmel-all-r6.56.gtf \ -s sense \ --shrink \ -F png \ --width 8 \ --height 6 \ --ann-height 1.5 \ --base-size 12 \ --min-coverage 5 \ --alpha 0.7 \ --out-strand both \ --labels 2 \ --overlay 3 \ --aggr mean \ --color-factor 4 \ --fix-y-scale \ --out-resolution 300

ERROR: No available bam files.

jaempawi commented 6 months ago

I would advise you to create tsv file for input bam as in the example. Make sure you have the full path to your bam file and bai file in the same directory.

NextGenSeek commented 1 month ago

I had the same problem at first. You have to enter -b for every bam file

ggsashimi.py -b file1.bam -b file2.bam -c genome_file -o output