-
Notifications
You must be signed in to change notification settings - Fork 7
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
Inflate operation failed: invalid distance too far back terminate called after throwing an instance of 'std::runtime_error' #64
Comments
It's possibly a truncated file. Can you share how you made the GAMP? |
Sure singularity exec -B /work/ /work/alfaroqc/apps/vg_v1.57.0.sif vg mpmap -t 32 -x $xg_path -g $gcsa_path -d $dist_path -f $read_1_3 -f $read_2_3 > mpmap_03_control.gamp where xg_path, gcsa_path, and dist_path are where the files are located, as well as the paired-end reads: read_1_3 and read_2_3 The output I obtained is this one: [vg mpmap] elapsed time 0 s: Executing command: /vg/bin/vg mpmap -t 32 -x /work/alfaroqc/Pangenome_project/Pantranscriptome_files/Minigraph_cactus/minigraph_cactus_grch38.xg -g /work/alfaroqc/Pangenome_project/Pantranscriptome_files/Minigraph_cactus/minigraph_cactus_grch38.gcsa -d /work/alfaroqc/Pangenome_project/Pantranscriptome_files/Minigraph_cactus/graph.dist -f /work/alfaroqc/Pangenome_project/Pantranscriptome_files/Minigraph_cactus/Testing_reads_RNA_seq/Misha_reads/S03_R1.fq -f /work/alfaroqc/Pangenome_project/Pantranscriptome_files/Minigraph_cactus/Testing_reads_RNA_seq/Misha_reads/S03_R2.fq The output looks similar to the previous gamp files generated. |
Well, if this became truncated, it probably happened after |
Hello there! The error is the following: What surprises me is that I have the same error for all the 6 files and rpvg worked for the first 2 but not for all the rest ones. |
Hello rpvg team Running rpvg (commit: cd5160d) I do not understand why I am getting this 'std::runtime_error', |
This error means that, one way or another, your file isn't in the input format that The Another test could be to map a small number of reads (e.g. 5000) and see if you have the same error. |
Hello rpvg team:
I've successfully gotten the .gamp file of the transcriptome file with vg mpmap and there was no problem at all. But when I run rpvg, I have this error:
Running rpvg (commit: cd5160d)
Random number generator seed: 1730236892
Fragment length distribution parameters found in alignment (mean: 151.096, standard deviation: 43.1828)
Loaded graph, GBWT and r-index (6.607 seconds, 10.2174 GB)
[E::bgzf_uncompress] Inflate operation failed: invalid distance too far back
terminate called after throwing an instance of 'std::runtime_error'
what(): [vg::io::MessageIterator] obsolete, invalid, or corrupt input at message 47907863952 group 41477367607
/cm/local/apps/slurm/var/spool/job17498325/slurm_script: line 25: 39401 Aborted
What is weird is that I ran rpvg previously with two different gamp files, and they ran okay, but this one is not working properly.
The command I am using is this one:
singularity exec -B /work /work/public/singularity/rpvg_latest.sif rpvg -t 32 -g $xg_path -p $gwbt_path -f $txt_gz_path -a mpmap_03_control.gamp -o rpvg --inference-model transcripts
where xg_path, gwbt_path, and txt_gz_path are where the files are located.
I used the same command to run rpvg before but using different gamp files and it was ok.
I would appreciate any help
Best
The text was updated successfully, but these errors were encountered: