Skip to content

Custom Database creation  #74

@sum732

Description

@sum732

Hello,

I am having issues in creating a custom database and need some help in resolving the issue.
I found https://github.com/DiltheyLab/MetaMaps/issues/5 to be helpful and following that tried to create a database.
Snippet of the error shown
Several taxon IDs specified in TxFile_NoPlasmid.txt are invalid, i.e. they don't appear in the taxonomy specified in ../Complete_Genomes_RefSeq_Bac_Vir_Fug_Pla_Pro/taxonomy/: kraken:taxid|1922674|NC_032554.1
However, this (and other) IDs do exits:
names.dmp

grep -w "1922674" ../Complete_Genomes_RefSeq_Bac_Vir_Fug_Pla_Pro/taxonomy/names.dmp
1922674 |       Beihai sipunculid worm virus 2  |               |       scientific name |

nodes.dmp

grep -w "1922674" ../Complete_Genomes_RefSeq_Bac_Vir_Fug_Pla_Pro/taxonomy/nodes.dmp 
1922674 |       1922348 |       species |       BS      |       9       |       1       |       1       |       1       |       0       |       1       |       1  |0       |               | 

Command used

perl /Path/MetaMaps-master/combineAndAnnotateReferences.pl --inputFileList TxFile_NoPlasmid.txt --outputFile MetaMapdb_Combined.fa --taxonomyInDirectory ../Complete_Genomes_RefSeq_Bac_Vir_Fug_Pla_Pro/taxonomy/ --taxonomyOutDirectory /Path/Kraken2_DB/MetaMapdb 

Here is peak into the inputFile List

head -n +3 TxFile_NoPlasmid.txt 
kraken:taxid|161|NZ_CP016056.1  ../Complete_Genomes_RefSeq_Bac_Vir_Fug_Pla_Pro/library/bacteria/library.fna
kraken:taxid|2702|NZ_LT629773.1 ../Complete_Genomes_RefSeq_Bac_Vir_Fug_Pla_Pro/library/bacteria/library.fna
kraken:taxid|573|NZ_AP024579.1  ../Complete_Genomes_RefSeq_Bac_Vir_Fug_Pla_Pro/library/bacteria/library.fna

I am not sure what is wrong. Any help will be much appreciated.
Best,
SM

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions