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

Number appended after sequence name in annotation.tsv file #3

Closed
ramadatta opened this issue Aug 31, 2022 · 4 comments
Closed

Number appended after sequence name in annotation.tsv file #3

ramadatta opened this issue Aug 31, 2022 · 4 comments

Comments

@ramadatta
Copy link

Hi,

Thank you for creating this nice tool.

It seems, I have an bug in my annotation.tsv output with bacant.

Below is how my input fasta looks like:

$ grep '>' filename.fasta
>Ctg1_len_5201677_depth_1.00x_circ
>Ctg2_len_135212_depth_2.08x_circ
>Ctg3_len_67445_depth_4.02x_circ

The annotation.tsv appends a number in the sequence name:

egrep 'circ1|circ2' annotation.tsv
Ctg1_len_5201677_depth_1.00x_circ2	resistance	gene	939	1799	.	-	.	locus_tag=Ctg1_len_5201677_depth_1.00x_circ2;gene=blaTEM-116;db_xref=ResDB;Note=BETA-LACTAM
Ctg1_len_5201677_depth_1.00x_circ2	resistance	CDS	939	1799	.	-	.	locus_tag=Ctg1_len_5201677_depth_1.00x_circ2;CDS=blaTEM-116;db_xref=ResDB;Note=BETA-LACTAM
Ctg1_len_5201677_depth_1.00x_circ1	resistance	gene	613	933	.	-	.	locus_tag=Ctg1_len_5201677_depth_1.00x_circ1;gene=ble_Tn5;db_xref=ResDB;Note=BLEOMYCIN
Ctg1_len_5201677_depth_1.00x_circ1	resistance	CDS	613	933	.	-	.	locus_tag=Ctg1_len_5201677_depth_1.00x_circ1;CDS=ble_Tn5;db_xref=ResDB;Note=BLEOMYCIN
Ctg1_len_5201677_depth_1.00x_circ1	resistance	gene	954	1748	.	-	.	locus_tag=Ctg1_len_5201677_depth_1.00x_circ1;gene=aph(3')-IIa;db_xref=ResDB;Note=KANAMYCIN
Ctg1_len_5201677_depth_1.00x_circ1	resistance	CDS	954	1748	.	-	.	locus_tag=Ctg1_len_5201677_depth_1.00x_circ1;CDS=aph(3')-IIa;db_xref=ResDB;Note=KANAMYCIN

Not all the gene annotations are like this but a few of them are as above. Any help appreciated!

@xthua
Copy link
Owner

xthua commented Aug 31, 2022 via email

@ramadatta
Copy link
Author

Hi @xthua

Thank you for reply. Please find the fasta file.

I do not see the version information in the conda installed bacant. I assume it is v3.3.3 installed using this command:

conda install -c bacant -c conda-forge -c bioconda bacant 

Many thanks!

filename.txt

@xthua
Copy link
Owner

xthua commented Sep 1, 2022 via email

@ramadatta
Copy link
Author

ramadatta commented Sep 1, 2022

Hi @xthua ,

Thank you so much! The issue is resolved after bacant update using conda.

I used the following command to update

conda install -c bacant -c conda-forge -c bioconda bacant=3.3.4

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