Closed EricDeveaud closed 1 year ago
This seems like a very reasonable suggestion.
hello
I'm currently taking a look at how db can be indexed by confidr_database_setup
if I understand correctly there is 2 possible options: 1) no rMLST all $GENERA_db_cgderived with GEERA in Escherichia, Listeria and Salmonella should be indexed sam indexed and by KMA with corresponding name
Escherichia_db_cgderived.fasta -> Escherichia_db_cgderived.fasta.faid + Escherichia_db_cgderived_kma.*
Listeria_db_cgderived.fasta -> Listeria_db_cgderived.fasta.fai + Listeria_db_cgderived_kma.*
Salmonella_db_cgderived.fasta -> Salmonella_db_cgderived.fasta.fai + Salmonella_db_cgderived_kma.*
is this correct
2) with rMLST files present
same as above
and $GENERA_db.fasta + fai indexes must be created using rMLST_combined.fasta file through the setup_allelespecific_database
Escherichia_db.fasta + fai
Listeria_db.fasta + fai
Salmonella_db.fasta + fai
is this correct ?
regards
Eric
It is.
However, since the rMLST database is designed to cover all prokaryotic genera, I am working on a fix by creating a set of all genera stored in the profiles.txt file, and making the allele-specific database for each one. This way, ConFindr won't crash when you process an Enterococcus, for example.
As you might expect, this will take a very long time - probably at least 24 hours, so you will only want to do this pre-indexing in cases such as yours.
Hello
great news. time won't be a problem
thnaks
Implemented in 241e4d9 for v0.8.1.
Hello, related to #9 I was asked to install ConFinder on our cluster, our installation scheme is to install stuff on a shared NFS read-only drive.
I proceeded with the pipy confindr-0.7.4.tar.gz
compute nodes does nnot have access to internet, so we need to prepare the DBs for our users and we want to avoid multiples copies of
~/.confidr
so I've setup the databases using
confindr_database_setup -o /opt/gensoft/exe/ConFindr/0.7.4/share/
and exportedCONFINDR_DB=/opt/gensoft/exe/ConFindr/0.7.4/share/
but when I try to run the example I have the following error related to write permission on CONFINDR_DB location.
may I suggest that
confindr_database_setup
also perform the necessary indexing (samtools and kma) on downloaded files.regards
Eric