tsv2bam: src/BamI.cc:104: void BamHeader::init_sdict(): Assertion `h_->sdict' failed.
denovo_map.pl: Aborted because the last command failed (128).
I have slightly better coverage than identified in previous posts, but if that's the issue than it could also be too low.
BEGIN
cov_per_sample
# Depths of Coverage for Processed Samples
sample depth of cov max
cov number reads
incorporated % readsincorporated
LL2_a 10.45 987
1896902
59.5
LL4 7.62
1155 836138 58.5
conx5383 7.68 1052
791316
60.1
conx5391 8.50
402
1014947 59.5
conx5399 8.24 1508
925542 61.8
conx5405_b 9.81 2143
1538081
60.4
conx5418 8.35 1545
1012460
61.8
lorica46 8.30 1961
966802
60.4
lorica52 7.94 1451
862842 58.3
lorica55 8.15 603
920150
60.7
lorica56 5.92 756
375528
51.3
lorica60 8.65 1891
1061188
60.4
END cov_per_sample
Hi Nic,
The code is failing during an ‘assert’ that makes sure a BAM header object was able to be created and initialized (by the HTS library, which handles reading/writing BAM files and isn’t native Stacks code). Hence, this shouldn’t typically fail, perhaps you are not allocating enough memory for the job? You could test by re-running the tsv2bam step, but only including a small number of your samples, or by increasing the amount of memory you specify for the batch job.
Best,
julian
Hi Nic,
I don’t know what could be happening at the moment. If you wanted to give me access to a few samples and the commands you ran that reproduce the error (say via Dropbox) I could try to debug it and see what is happening.