Hello @blahah,
Referring to other posts regarding an issue with 1.0.3, I am having a similar SNAP error while running transrate. My error code is noted below.
Welcome to SNAP version 1.0dev.96.
mmap failed.
MemMapDataReader: fail to map /pylon2/bi4s8fp/jsdsmail/Transrate/Trim_TS6_T24.left.pe.qc.fq at 0,3765724304
SNAP exited with exit code 1 from line 2283 of file SNAPLib/DataReader.cpp
Any help/advice on this error would be much appreciated. I got the same error when trying to run it on the previous version of transrate as well.
Thanks!
@blahah any updates so for? I am running Transrate v1.0.3. The algorithms for contig/assembly score are so attractive! Eager to try them out in my data! SNAP seems fine, but Salmon gives warning "[jointLog] [warning] [Sampler.hpp]: Failed to sample an alignment for this read; this shouldn't happen
currentMass = -nan, r = 0.694954"
Loading index from directory... 2s. 384271831 bases, seed size 23
Aligning.
Total Reads Aligned, MAPQ >= 10 Aligned, MAPQ < 10 Unaligned Too Short/Too Many Ns Extra Alignments %Pairs Reads/s Time in Aligner (s)
693,340,846 280,486,471 (40.45%) 330,208,110 (47.63%) 78,660,098 (11.35%) 3,986,167 (0.57%) 620,752,208 78.36% 124,387 5,574
Welcome to SNAP version 1.0dev.96.
[2017-05-17 13:40:55.996] [fileLog] [info] quantification processed 354000000 fragments so far
[2017-05-17 13:41:01.787] [jointLog] [info]
Completed first pass through the alignment file.
Total # of mapped reads : 354762625
of uniquely mapped reads : 144015998
ambiguously mapped reads : 210746627
[2017-05-17 13:41:01.761] [fileLog] [info] quantification processed 354762625 fragments so far
[2017-05-17 13:41:33.214] [jointLog] [info] Computed 9628374 rich equivalence classes for further processing
[2017-05-17 13:41:33.214] [jointLog] [info] Counted 354762625 total reads in the equivalence classes
[2017-05-17 13:41:33.227] [jointLog] [info] starting optimizer
[2017-05-17 13:41:39.341] [jointLog] [info] Marked 0 weighted equivalence classes as degenerate
[2017-05-17 13:41:39.618] [jointLog] [info] iteration = 0 | max rel diff. = 800.763
[2017-05-17 13:41:53.311] [jointLog] [info] iteration 50, recomputing effective lengths
[2017-05-17 13:42:09.716] [jointLog] [info] iteration = 100 | max rel diff. = 0.358082
[2017-05-17 13:42:40.040] [jointLog] [info] iteration = 200 | max rel diff. = 0.305365
[2017-05-17 13:43:10.754] [jointLog] [info] iteration = 300 | max rel diff. = 0.0754343
[2017-05-17 13:43:41.135] [jointLog] [info] iteration = 400 | max rel diff. = 0.0490107
[2017-05-17 13:44:09.308] [jointLog] [info] iteration 500, recomputing effective lengths
[2017-05-17 13:44:10.037] [jointLog] [info] iteration = 500 | max rel diff. = 0.0219555
[2017-05-17 13:44:39.741] [jointLog] [info] iteration = 600 | max rel diff. = 0.127602
[2017-05-17 13:45:09.829] [jointLog] [info] iteration = 699 | max rel diff. = 0.0077808
[2017-05-17 13:45:09.864] [jointLog] [info] finished optimizer
[2017-05-17 13:45:10.734] [jointLog] [info] Sampling alignments; outputting results to ./postSample.bam
[2017-05-17 13:45:11.509] [jointLog] [warning] [Sampler.hpp]: Failed to sample an alignment for this read; this shouldn't happen
currentMass = -nan, r = 0.694954
[ERROR] 2017-05-23 13:47:30 : Version Info: Could not resolve upgrade information in the alotted time.
Check for upgrades manually at https://combine-lab.github.io/salmon
# salmon (alignment-based) v0.4.2
# [ program ] => salmon
# [ command ] => quant
# [ libType ] => { IU }
# [ alignments ] => { /mnt/lustre/macmaneslab/macmanes/orp/assemblies/transrate_1.transcripts75/1.skewer-trimmed-pair1.fastq.1.skewer-trimmed-pair2.fastq.1.transcripts75.bam }
# [ targets ] => { /mnt/lustre/macmaneslab/macmanes/orp/assemblies/1.spades_k75/1.transcripts75.fasta }
# [ threads ] => { 24 }
# [ sampleOut ] => { }
# [ sampleUnaligned ] => { }
# [ output ] => { . }
# [ useVBOpt ] => { }
# [ useErrorModel ] => { }
Library format { type:paired end, relative orientation:inward, strandedness:unstranded }
Logs will be written to ./logs
numQuantThreads = 18
parseThreads = 6
Checking that provided alignment files have consistent headers . . . done
Populating targets from aln = "/mnt/lustre/macmaneslab/macmanes/orp/assemblies/transrate_1.transcripts75/1.skewer-trimmed-pair1.fastq.1.skewer-trimmed-pair2.fastq.1.transcripts75.bam", fasta = "/mnt/lustre/macmaneslab/macmanes/orp/assemblies/1.spades_k75/1.tra
nscripts75.fasta" . . .done
processed 947385 reads in current round
/mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/ruby/2.2.0/gems/transrate-1.0.1/lib/transrate/salmon.rb:27:in `run': Salmon failed (Transrate::SalmonError)
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/ruby/2.2.0/gems/transrate-1.0.1/lib/transrate/read_metrics.rb:120:in `assign_and_quantify'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/ruby/2.2.0/gems/transrate-1.0.1/lib/transrate/read_metrics.rb:63:in `run'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/ruby/2.2.0/gems/transrate-1.0.1/lib/transrate/transrater.rb:86:in `read_metrics'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/lib/transfuse/transfuse.rb:218:in `block (2 levels) in transrate'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/lib/transfuse/transfuse.rb:214:in `chdir'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/lib/transfuse/transfuse.rb:214:in `block in transrate'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/lib/transfuse/transfuse.rb:210:in `each'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/lib/transfuse/transfuse.rb:210:in `each_with_index'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/libexec/lib/lib/transfuse/transfuse.rb:210:in `transrate'
from /mnt/lustre/software/linuxbrew/colsa/Cellar/transfuse/86.64/bin/../libexec/lib/bin/transfuse:66:in `<main>'
make: *** [transfuse] Error 1
the Salmon log simply says:
[2017-05-23 13:47:28.703] [fileLog] [info] quantification processed 0 fragments so far
[2017-05-23 13:47:28.948] [fileLog] [info] quantification processed 947385 fragments so far
@rob-p @blahah
Hi there - I've been using both Transrate and Transfuse in my assembly pipeline. In brief, I've been using three different assemblers choosing different settings within each. I then ranked each resultant assembly with Transrate and merged both within an across assemblers using Transfuse. Out of interest, I re-ranked each merged assembly using the recent version of Transrate, and what I found was that their scores did not correspond to those reported by Transfuse - they were much lower, and lower than any of the original assemblies.
I'm wondering why this might be? How does Transfuse's merging procedure differ from that of the merging implemented within Transrate? Is one preferred over the other?
Also, I haven't been able to find any documentation describing in detail what exactly Transfuse is doing. Is this available somewhere?
Thanks!