Error: stderr: samtools sort: failed to read header from '/outputpath/samplename/.test/test_1M_Aligned.out.bam'

Release date : Jan 27,2026

  • Check the file /outputpath/samplename/.test/test_1M_Log.out. It may indicate:

 


 

"FATAL INPUT ERROR: unrecognized parameter name 'genomeType' in input 'genomeParameters.txt'"

"EXITING because of FATAL ERROR: Genome version: 2.7.1a is INCOMPATIBLE with running STAR version: 2.7.10a SOLUTION: please re-generate genome from scratch with running version of STAR, or with version: 2.7.4a"

 


 

  • This error occurs due to version incompatibility between the genome index and the STAR software. Resolve it by providing the --star_path parameter to specify the path to the STAR version used for building the index.

 


 

attachment: