Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genome Version: 20201 is INCOMPATIBLE with running STAR version: 2.7.9a #92

Open
meherpreethi777 opened this issue May 31, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@meherpreethi777
Copy link

Description of the bug

While running RNAvar pipeline and providing the reference as a GTF file, the following error was seen:
EXITING because of FATAL ERROR: Genome version: 20201 is INCOMPATIBLE with running STAR version: 2.7.9a
SOLUTION: please re-generate genome from scratch with running version of STAR, or with version: 2.7.4a

In order to overcome the compatibility issue, the --star_index flag was removed and RNAvar was re-run.
Based on the log file, as indicated in the documentation, the pipeline tried to build in it's own STAR indices using "genomeGenerate" but then ran into the same error:

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

Command used and terminal output

nextflow rnavar/main.nf \
        --input samplesheet.txt \
        --outdir <output> \
        --gtf Homo_sapiens.GRCh38.104.gtf \
        --fasta Homo_sapiens.GRCh38.dna_sm.primary_assembly.fa.gz \
        --known_indels resources_broad_hg38_v0_Homo_sapiens_assembly38.known_indels.vcf.gz \
        --known_indels_tbi resources_broad_hg38_v0_Homo_sapiens_assembly38.known_indels.vcf.gz.tbi \
        --seq_center "Core facility"

Relevant files

No response

System information

No response

@meherpreethi777 meherpreethi777 added the bug Something isn't working label May 31, 2023
@meherpreethi777 meherpreethi777 changed the title Genome Version: 20201 is INCOMPATIBLE with running running STAR version: 2.7.9a Genome Version: 20201 is INCOMPATIBLE with running STAR version: 2.7.9a May 31, 2023
@Shaun-Regenbaum
Copy link

Is there a reason this is commented out in prepare_genome.nf?
if((!ch_star_index) || getIndexVersion(ch_star_index) != '2.7.4a'){ ch_star_index = STAR_GENOMEGENERATE(ch_fasta,ch_gtf).index ch_versions = ch_versions.mix(STAR_GENOMEGENERATE.out.versions) }

as long as generategenome is in the modules, it will solve this issue. I can submit a PR for this too if we want.

@Shaun-Regenbaum
Copy link

@maxulysse Let me know your thoughts or perhaps you have already done this in dev?

@maxulysse
Copy link
Member

Is there a reason this is commented out in prepare_genome.nf? if((!ch_star_index) || getIndexVersion(ch_star_index) != '2.7.4a'){ ch_star_index = STAR_GENOMEGENERATE(ch_fasta,ch_gtf).index ch_versions = ch_versions.mix(STAR_GENOMEGENERATE.out.versions) }

I think we commented this because we never really managed to make it work

as long as generategenome is in the modules, it will solve this issue. I can submit a PR for this too if we want.

@Shaun-Regenbaum
Copy link

Shaun-Regenbaum commented Jan 8, 2024 via email

@bleazard
Copy link

We have also encountered this error. Do you know if there is a solution that we can use? We got the error as with the user above, when specifying our own fasta and gtf files and without the star_index flag.

@KristinaGagalova
Copy link

I am echoing the previous posts, I encountered the same error. I used gtf and Fasta files as input, and no star_index flag

@ERIGR
Copy link

ERIGR commented Jun 25, 2024

Hi, I'm encountering the same problem. Is there any way to solve this issue easily ?

@KristinaGagalova
Copy link

@ERIGR you can generate the index with STAR 2.7.9 and pass it to rnavar with the option --star_index

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants