Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error at GBitVec: index 16 out of bounds (size 16) (Stringtie V.1.3.1c) #87

Closed
AMMMachado opened this issue Dec 15, 2016 · 10 comments
Closed

Comments

@AMMMachado
Copy link

AMMMachado commented Dec 15, 2016

Hi,

This issue has been reported in #78 but i think we are currently still running into the same error with Stringtie version 1.3.1c.

Error at GBitVec: index 16 out of bounds (size 16)
Segmentation fault (core dumped)

The SAM file was generated with HISAT2 2.0.5 version with the --dta option and converted to BAM with samtools. We then run Stringtie (using 32 Gb of RAM) with the following command:

./stringtie -p 10 -G Mus_musculus.GRCm38.87.gtf -o SRR850587.gtf -l Mus_musculus SRR850587.bam

Cheers.

@AMMMachado AMMMachado reopened this Dec 15, 2016
@AMMMachado AMMMachado changed the title Error at GBitVec: index 16 out of bounds (size 16) (Stringtie V.1.3.1) Error at GBitVec: index 16 out of bounds (size 16) (Stringtie V.1.3.1c) Dec 15, 2016
@gpertea
Copy link
Owner

gpertea commented Dec 19, 2016

Could you please run this without -p option but with -v so we can locate the bundle triggering the error?
Then after indexing the .bam file it would be great if you could extract the alignments for that bundle's region (using samtools view -b) and share the resulting .bam file with me.
I am assuming the annotation reference GTF you used there was downloaded directly from Ensembl, unchanged -- so I can download it myself from Ensembl. But if you processed it in any way please let me have that file too.

@AMMMachado
Copy link
Author

AMMMachado commented Dec 19, 2016 via email

@gpertea
Copy link
Owner

gpertea commented Dec 19, 2016

Thanks - but I cannot access the file SRR850587.subset.bam, could you upload it somewhere? The github link you provided appears invalid (for me) -- it's some sort of "unsubscribe" link (?) which does not work for my account.

@AMMMachado
Copy link
Author

SRR850587.subset.bam.zip

Try this link please.
A.Machado

@gpertea
Copy link
Owner

gpertea commented Dec 19, 2016

Still not working.. there is nothing intelligible in that 4K .bam file I unpacked from the .zip. What is the actual byte size of the .bam file you are trying to share? For me it shows as 4789 bytes .bam file inside that 4979 bytes zip file. But the .bam file does not have the correct header, it is not recognized as a real BAM file.
Also, as a side note, there should be no reason to zip a .bam file, it's already compressed (usually).

@AMMMachado
Copy link
Author

In fact, my .bam file have 4766 bytes. Maybe having occurs some error during the process of .bam build.
Try in this link. I will add the complet bam file to the path.
https://www.dropbox.com/sh/87g5sdumzzry8wi/AACeoUyNpkzenBCHwtUITPuWa?dl=0

@gpertea
Copy link
Owner

gpertea commented Dec 20, 2016

Got it now and reproduced the error -- thanks! We'll take a closer look at this.

@gpertea
Copy link
Owner

gpertea commented Dec 23, 2016

There were some 1-base terminal exon read alignments there which triggered this bug.. We think we have a fix which will be released with v1.3.2 -- but until then, you could -- if you want -- test it on your data. The pre-release (not tested!) version can be downloaded here:

http://ccb.jhu.edu/software/stringtie/dl/stringtie-1.3.2-pre.tar.gz (source)
http://ccb.jhu.edu/software/stringtie/dl/stringtie-1.3.2-pre.Linux_x86_64.tar.gz (Linux binaries)

@AMMMachado
Copy link
Author

AMMMachado commented Dec 23, 2016

Thanks by the answer. I can try the new one.
If i remove the SRA that triggered this bug in 1.3.1c, the remaining analysis keeps coherent and trustworthy?

@gpertea
Copy link
Owner

gpertea commented Jan 18, 2017

Rhetorical questions aside (I cannot know if discarding a sample from your data set has no impact on your research..), I tentatively released v1.3.2, if you're still using StringTie please download the last version from http://ccb.jhu.edu/software/stringtie/#install and let me know if you still encounter problems. I'm going to close this issue for now as I assume this particular bug was fixed, but feel free to re-open it (or add a comment) if that's not the case.

@gpertea gpertea closed this as completed Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants