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

Error: prepareReferenceFiles #86

Open
yockping opened this issue Dec 26, 2020 · 4 comments
Open

Error: prepareReferenceFiles #86

yockping opened this issue Dec 26, 2020 · 4 comments

Comments

@yockping
Copy link

Hi, facing the similar problem and encounter error when execute the pipeline. Could please advise?
Error as below:

Error executing process > 'ncovIllumina:prepareReferenceFiles:indexReference ([nCoV-2019.reference.fasta, ZaireEbola.reference.fasta, nCoV-2019.reference.fasta])'

Caused by:
Process ncovIllumina:prepareReferenceFiles:indexReference input file name collision -- There are multiple input files for each of the following file names: nCoV-2019.reference.fasta

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named .command.sh

Originally posted by @yockping in #71 (comment)

@rdeborja
Copy link

The problem seems to be the primer-schemes directory which duplicates the nCoV-2019.reference.fasta in the nCoV-2019 directory and the SARS-CoV-2 symlink. To get around this, I specified the --ref primer-schemes/nCoV-2019/V3/nCoV-2019.reference.fasta and --bed primer-schemes/nCoV-2019/V3/nCoV-2019.bed options when running the pipeline. This way it doesn't recursively look for *reference.fasta files and duplicate the file for a collision in the list.

@m-bull
Copy link
Contributor

m-bull commented Jan 11, 2021

I'm sorry but I can't replicate this - please can you try pulling the latest version and showing me the command that you ran to get this error?

@rdeborja
Copy link

I just did a complete clone from scratch and everything seems to be working fine now. The command I issued was nextflow run src/ncov2019-artic-nf/main.nf --schemeVersion V3 --directory data --illumina --prefix tester

@yockping
Copy link
Author

great thanks! Finally it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants