Hi I'm trying to run rmats2sashimiplot, and I've got an error printed on screen, but when I look at the log file it looks as if it has actually worked, althouth there's no sashimiplot to be found. Can anyone help? Thanks
This is my command:
rmats2sashimiplot -b1 data/T7.bam,data/T8.bam,data/T9.bam -b2 data/P0_1.bam,data/P0_2.bam,data/P0_3.bam -c chr1:+:128056932:128057012:gtf/Rn5.gff3 -l1 Tissue -l2 P0 -exon_s 1 -intron_s 5 -o test_coordinate_output
And this is ERROR message:
Indexing GFF...
- GFF: /new-data/ml439/rMATS.3.0.9/test_coordinate_output/Sashimi_index/tmp.gff3
- Outputting to: /new-data/ml439/rMATS.3.0.9/test_coordinate_output/Sashimi_index
ENST00000000000 has no exons
Through 0 genes...
Loaded 1 genes
- Loading of genes from GFF took 0.00 seconds
Making directory: /new-data/ml439/rMATS.3.0.9/test_coordinate_output/Sashimi_index/chr1
- Chromosome serialization took 0.00 seconds
Outputting gene records in GFF format...
- Output file: /new-data/ml439/rMATS.3.0.9/test_coordinate_output/Sashimi_index/genes.gff
- Serialization of genes from GFF took 0.13 seconds
Indexing of GFF took 0.13 seconds.
Traceback (most recent call last):
File "/usr/local/bin/sashimi_plot", line 9, in <module>
load_entry_point('misopy==0.5.3', 'console_scripts', 'sashimi_plot')()
File "/usr/local/lib/python2.7/dist-packages/misopy/sashimi_plot/sashimi_plot.py", line 276, in main
plot_label=plot_label)
File "/usr/local/lib/python2.7/dist-packages/misopy/sashimi_plot/sashimi_plot.py", line 153, in plot_event
plot_label=plot_label)
File "/usr/local/lib/python2.7/dist-packages/misopy/sashimi_plot/plot_utils/plot_gene.py", line 675, in plot_density_from_file
parseGene(pickle_filename, event)
File "/usr/local/lib/python2.7/dist-packages/misopy/parse_gene.py", line 48, in parseGene
mRNAs, strand, chrom
UnboundLocalError: local variable 'strand' referenced before assignment
mv: cannot stat ‘/new-data/ml439/rMATS.3.0.9/test_coordinate_output/Sashimi_plot/chr1:128056932:128057013:+.pdf’: No such file or directory
And this is the log.file:
2015-12-09 10:11:17,325 convert sam to bam and build index..
2015-12-09 10:11:17,325 ################### folder names and associated input files #############
2015-12-09 10:13:46,428 SAMPLE_1\REP_1 data/T7.bam
2015-12-09 10:16:01,398 SAMPLE_1\REP_2 data/T8.bam
2015-12-09 10:18:47,496 SAMPLE_1\REP_3 data/T9.bam
2015-12-09 10:21:37,541 SAMPLE_2\REP_1 data/P0_1.bam
2015-12-09 10:24:28,778 SAMPLE_2\REP_2 data/P0_2.bam
2015-12-09 10:27:07,323 SAMPLE_2\REP_3 data/P0_3.bam
2015-12-09 10:27:07,323 #########################################################################
2015-12-09 10:27:07,323 get user input coordinates and convert to gff3 format file..
2015-12-09 10:27:07,323 coordinate is provided chr1:+:128056932:128057012:gtf/Rn5.gff3
2015-12-09 10:27:07,323 drawPlotWithCoordinate()
2015-12-09 10:27:07,907 start preparing sashimi plot setting files
2015-12-09 10:27:07,907 prepare sashimi plot setting file..
2015-12-09 10:27:07,908 done prepare sashimi plot setting file/new-data/ml439/rMATS.3.0.9/test_coordinate_output/Sashimi_index/sashimi_plot_settings.txt
2015-12-09 10:27:07,908 done making setting file..
2015-12-09 10:27:07,908 use gff3 format file to run index_gff..
2015-12-09 10:27:08,676 output plot from events set..
2015-12-09 10:27:19,602 *** output plot chr1:128056932:128057013:+.pdf
2015-12-09 10:27:19,603 done drawPlotWithCoordinate()
2015-12-09 10:27:19,603 Program ended
2015-12-09 10:27:19,603 Program ran 00:16:02