Repository navigation
NCBI Taxonomic change #878
Closed
pankovicspeter
started this conversation in
Ideas
Replies: 2 comments 2 replies
|
It will be fixed shortly, for now you still have to work around it. |
1 reply
|
Dear Benjamin,
Ok, thank you so much for your reply!
So can I omit my additional code?
Kind regards
Peter
# Check if the 'nodes.dmp' file exists
NODES_FILE="${TAX_DIR}/nodes.dmp"
if [[ -f "$NODES_FILE" ]]; then
# Invalid ranks and replacement (should only be done once, but we play it safe)
declare -a BAD_RANKS=("domain" "acellular root" "cellular root" "realm" "subvariety")
MODIFIED=false
for BAD in "${BAD_RANKS[@]}"; do
if grep -q $'\t'"$BAD"$'\t' "$NODES_FILE"; then
# Replace the invalid rank
sed -i "s|\t$BAD\t|\tno rank\t|g" "$NODES_FILE"
MODIFIED=true
fi
done
fi
…________________________________
Feladó: Benjamin Buchfink ***@***.***>
Elküldve: 2025. június 3., kedd, 21:30
Címzett: bbuchfink/diamond ***@***.***>
Másolatot kap: pankovicspeter ***@***.***>; Author ***@***.***>
Tárgy: Re: [bbuchfink/diamond] NCBI Taxonomic change (Discussion #878)
It should be fixed in the latest release.
—
Reply to this email directly, view it on GitHub<#878 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASFLY4CFLHAC5ZZB4UBA4EL3BXZXDAVCNFSM6AAAAAB6DWDM4KVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMZVHE4DENQ>.
You are receiving this because you authored the thread.
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Dear Benjamin,
I frequently use the DIAMOND application in my work, and I consider it a well-designed search tool.
However, I recently encountered the following issue. Due to changes in the NCBI taxonomy, the nodes.dmp file in the taxdump.zip archive downloaded from the official FTP server now contains modified taxonomic rank names. The following new categories have been introduced: domain, acellular root, cellular root, realm, and subvariety.
The problem arises during database creation with taxonomy linking (e.g., using diamond makedb --taxonnodes nodes.dmp, etc.), as diamond makedb is unable to handle these units. However, when I replaced these units with "no rank", the database was able to associate the taxonomy correctly.
Are you aware of this change? Do you have plans to address this issue in a future update?
Best regards and many thanks,
Péter Pankovics
pankovics.peter@pte.hu
All reactions