centrifuge not working- index error
1
0
Entering edit mode
5.2 years ago

hi, I am trying to run centrifuge but I am getting some error listed below. I would really appreciate your help if you could help me to troubleshoot this error.

**(centrifuge) ncim@ncim-Super-Server:~/softwares/centrifuge_db/p+h+v$ centrifuge -x p+h+v.1.cf -U 1KO.fastq -S centrifuge_out --report-file centrifuge_1ko --threads 30 
Could not locate a Centrifuge index corresponding to basename "p+h+v.1.cf"
Error: Encountered internal Centrifuge exception (#1)
Command: /home/ncim/anaconda3/envs/centrifuge/bin/centrifuge-class --wrapper basic-0 -x p+h+v.1.cf -S centrifuge_out --report-file centrifuge_1ko --threads 30 -U 1KO.fastq 
(ERR): centrifuge-class exited with value 1**
next-gen sequence sequencing software error • 2.2k views
ADD COMMENT
0
Entering edit mode

Using + in unix names is likely not a good idea. Try renaming the files (you may need to recreate the index if simple renaming of all index files does not work).

ADD REPLY
0
Entering edit mode
5.2 years ago
h.mon 35k

You are passing the full name of a file from the index, centrifuge wants just the prefix of the index name (minus trailing .X.cf):

  centrifuge [options]* -x <cf-idx> {-1 <m1> -2 <m2> | -U <r> | --sample-sheet <s> } [-S <filename>] [--report-file <report>]

 <cf-idx>   Index filename prefix (minus trailing .X.cf).

Try with:

centrifuge -x p+h+v [...]
ADD COMMENT

Login before adding your answer.

Traffic: 1551 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6