Skip to content
Skylar Wyant edited this page Oct 7, 2016 · 5 revisions

Frequently Asked Questions

  1. I'm getting an error when running SAM_Processing using SAMtools. It looks like
[bam_sort_core] merging from 44 files...
[bam_rmdup_core] processing reference morex_contig_1...
[bam_rmdup_core] processing reference morex_contig_4...
/bin/bash: line 1: 26653 Segmentation fault      (core dumped) samtools rmdup "${out}/sorted/${sampleName}_${YMD}_sorted.bam" "${out}/finished/${sampleName}_${YMD}_deduped.bam"
[W::bam_hdr_read] EOF marker is absent. The input is probably truncated.
[E::bam_hdr_read] truncated bam header
Failed to read header for "/home/filepath/SAM_Processing/finished/sample1_deduped.bam"
[bam_sort_core] merging from 50 files...
[bam_rmdup_core] processing reference morex_contig_1...
[bam_rmdup_core] processing reference morex_contig_4...
/bin/bash: line 1: 27530 Segmentation fault      (core dumped) samtools rmdup "${out}/sorted/${sampleName}_${YMD}_sorted.bam" "${out}/finished/${sampleName}_${YMD}_deduped.bam"
[W::bam_hdr_read] EOF marker is absent. The input is probably truncated.
[E::bam_hdr_read] truncated bam header
Failed to read header for "/home/filepath/SAM_Processing/finished/sample2_deduped.bam"

The issue here is the version of SAMtools that's being used. Please consult the dependencies page about which version to use.

Clone this wiki locally