Giter Site home page Giter Site logo

Comments (5)

dgarrimar avatar dgarrimar commented on August 13, 2024

Hi @TOTTW,

could you please provide some sample data to try to reproduce the error?

from ggsashimi.

TOTTW avatar TOTTW commented on August 13, 2024

Hi,
Thank you for your quick reply!
I draw the sashimi plot for a lot of bam flies. Most of them work very well. But for some Bam files, it comes the error. The case I showed before, I just found this bam file just have one reads. But when I check the other BAM file which have more than one read. It still has this error.
Below is another example:

(base) [myang9@sbcsmdplp001 ~]$sashimi-plot.py -s SENSE --shrink -F png -C 2 -g human/ENSEMBL/Homo_sapiens.GRCh38.94.gtf -b Bam1214CERSE233625.bam -c chr3:7686356-7691328 -o 1214_CER.SE_233625
Traceback (most recent call last):
File "sashimi-plot.py", line 214, in intersect_introns
a, b = next(it)
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "sashimi-plot.py", line 644, in
intersected_introns = list(intersect_introns(introns))
RuntimeError: generator raised StopIteration

The GitHub not support to upload the bam file. So I put it to my google drive. Thank you very much!
https://drive.google.com/drive/folders/1xTeSMmS40vVCsIE6ck-LrT53GzboqX8Y?usp=sharing

from ggsashimi.

dgarrimar avatar dgarrimar commented on August 13, 2024

Hi,

I have run the command you provided in one of your bam files:

sashimi-plot.py -s SENSE --shrink -F png -C 2 -g Homo_sapiens.GRCh38.94.gtf -b Bam1214CERSE233625.bam -c chr3:7686356-7691328 -o 1214_CER.SE_233625

with Python 3.5.6. However I could not reproduce the error. The only difference could come from Homo_sapiens.GRCh38.94.gtf. I got it directly from ftp://ftp.ensembl.org/pub/release-94/gtf/homo_sapiens/Homo_sapiens.GRCh38.94.gtf.gz

Does this exact command fail for you?

from ggsashimi.

TOTTW avatar TOTTW commented on August 13, 2024

Thank you for your help!

from ggsashimi.

ajw2329 avatar ajw2329 commented on August 13, 2024

Hi all - I wanted to comment briefly here that I recently encountered this error while using python v3.7.3, only when plotting exclusively samples that do not actually contain any junction reads. Switching to python 3.6.3 solved the problem. It seems like this might specifically relate to PEP 479 involving changes to generator behavior. I'll dig in some more and update soon.

from ggsashimi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.