guigolab / ggsashimi

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

AttributeError: 'NoneType' object has no attribute 'replace' #36

Closed archana433 closed 4 years ago

archana433 commented 4 years ago

used this command - ./sashimi-plot.py -b wt_chr2.bam -g Mus_musculus.GRCm38.99.gtf -o wt1

Traceback (most recent call last): File "./sashimi-plot.py", line 578, in a, junctions = read_bam(bam, args.coordinates, args.strand) File "./sashimi-plot.py", line 125, in readbam , start, end = parse_coordinates(c) File "./sashimi-plot.py", line 67, in parse_coordinates c = c.replace(",", "") AttributeError: 'NoneType' object has no attribute 'replace'

emi80 commented 4 years ago

Hi @archana433,

you always need to specify a region of interest using the -c command line option. Though, we might set the parameter as required and definitely need to give a more informative error message.

Thanks for reporting this.

archana433 commented 4 years ago

Thank you,