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

dbsub.out multiple lines for the same gene_id #125

Open
ScaonE opened this issue Aug 3, 2023 · 1 comment
Open

dbsub.out multiple lines for the same gene_id #125

ScaonE opened this issue Aug 3, 2023 · 1 comment

Comments

@ScaonE
Copy link

ScaonE commented Aug 3, 2023

Dear all,

run_dbcan version:
Based on commit f3dd111, we cloned the repo and built the Docker image from https://github.com/linnabrown/run_dbcan/blob/master/docker/Dockerfile

we ran the following run_dbcan command:

docker run \
        --rm \
        -v /home/Toto_project:/data \
        run_dbcan:4.0.0 \
        /data/$sample \
        meta \
        --out_dir /data/dbcan4/"$name"_dbcan \
        --out_pre "$name" \
        --dia_cpu 34 \
        --hmm_cpu 34 \
        --tf_cpu 34 \
        --stp_cpu 34 \
        2>&1 >> log.txt

When trying to figure out the result for the first sample, looking at the overwiew (sample_a_overview.txt):
In the "dbCAN_sub" column, some results (e.g. "GH42_e21") are eCAMI subfamilies.
We wanted to "convert" them to CAZyme families, using information available in sample_a_dbsub.out.

Ps: We noticed that:
Gene_id are unique in the sample_a_overview.txt file.
This is not always the case in the sample_a_dbsub.out file.

Trying to map eCAMI subfamilies to CAZyme families, we stumbled upon various cases of duplicated Gene_id in the sample_a_dbsub.out file:

n lines for the same Db_can_subfam (CAZyme family)

sample_a_dbsub.out:

Gene_id Db_can_subfam Subfam_composition
k141_96749_21 GT2 GT2:53|GT4:2
k141_96749_21 GT2 GT2:121|GT4:4

sample_a_overview.txt:

Gene ID EC# HMMER dbCAN_sub DIAMOND #ofTools
k141_96749_21 -|- GT2(63-192)+GT2(324-453) GT2+GT2 GT2 3

Notice that the Subfam_composition is not the same for both GT2 entries.

n lines for the same Db_can_subfam (eCAMI subfamiliy)

sample_a_dbsub.out:

Gene_id Db_can_subfam Subfam_composition
k141_88523_2 GT39_e29 GT39:80|CBM0:21|CBM16:6
k141_88523_2 GT39_e29 GT39:80|CBM0:21|CBM16:6

sample_a_overview.txt:

Gene ID EC# HMMER dbCAN_sub DIAMOND #ofTools
k141_88523_2 -|- GT39(607-822) GT39_e29+GT39_e29 GT39 3

Notice that the Subfam_composition is the same for both GT39_e29 entries.

n lines for different Db_can_subfam (eCAMI subfamilies)

sample_a_dbsub.out:

Gene_id Db_can_subfam Subfam_composition
k141_110494_2 CBM32_e28 CBM32:62|GH2:59
k141_110494_2 GH2_e53 GH2:132|CBM32:58|CBM2:1

sample_a_overview.txt:

Gene ID EC# HMMER dbCAN_sub DIAMOND #ofTools
k141_110494_2 -|- GH2(5-566) GH2_e53+CBM32_e28 CBM32+GH2 3

Questions:

  • Are all those cases expected?
  • How do dbCAN users usually map dbCAN-sub eCAMI subfamilies to CAZyme families?
@yinlabniu
Copy link
Collaborator

yinlabniu commented Aug 3, 2023 via email

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

2 participants