alexdobin / STAR

RNA-seq aligner
MIT License
1.85k stars 506 forks source link

Same STAR version in both indexGenerate and mapping,'FATAL INPUT ERROR: unrecognized parameter name "genomeType" in input "genomeParameters.txt"'error occurred #1702

Open Miracle-Yao opened 1 year ago

Miracle-Yao commented 1 year ago

Recently, I have the same question and I have read the possible answers in Github. My code is :

/public/home/zl/software/STAR-2.7.4a/bin/Linux_x86_64_static/STAR \
--runMode alignReads \
--runThreadN 10 \
--genomeDir ${index_dir} \
--readFilesCommand zcat \
--readFilesIn ${seq1_file} ${seq2_file} \
--outSAMtype BAM SortedByCoordinate \
--outBAMsortingThreadN 8 \
--outFileNamePrefix ${out_prefix}

Log.out :

WARNING: --limitBAMsortRAM=0, will use genome size as RAM limit for BAM sorting
Finished loading and checking parameters
Reading genome generation parameters:
### STAR   --runMode genomeGenerate      --runThreadN 33   --genomeDir /proj/STARmapping   --genomeFastaFiles /proj/Chromosomes.masked.fa      --genomeSAindexNbases 14   --genomeChrBinNbits 18   --limitGenomeGenerateRAM 100000000000
### GstrandBit=35
versionGenome                 2.7.4a     ~RE-DEFINED

EXITING: FATAL INPUT ERROR: unrecognized parameter name "genomeType" in input "genomeParameters.txt"
SOLUTION: use correct parameter name (check the manual)

Nov 07 10:41:09 ...... FATAL ERROR, exiting

Index generation used one server.mapping used another server STAR version for index generation is the same as STAR version for mapping(2.7.4a ).

Any suggestions for this new error would be greatly appreciated. Thanks very much. Dc

alexdobin commented 1 year ago

Hi @Datacond

this likely means that the genome was generated with a later version than the version used for mapping. Please re-generate the genome with the version you are using for mapping, or run mapping with the latest version 2.7.10b.

Miracle-Yao commented 1 year ago

Hi @alexdobin Thanks for your help!

I used pre-compile Linux_x86_64_static 2.7.8a version of STAR to solve this problem

Thanks again

Dc