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

feature request: send description from database headers to output table #33

Closed
schultzm opened this issue Sep 8, 2017 · 6 comments
Closed
Assignees
Milestone

Comments

@schultzm
Copy link

schultzm commented Sep 8, 2017

Hi @tseemann ,

Feature request: add a new column to the abricate output that contains 'DESCRIPTION' information. For example, the ncbi database has

>ncbi~~~mcr-1~~~A7J11_03461 phosphoethanolamine--lipid A transferase MCR-1
>ncbi~~~mcr-1.2~~~A7J11_03754 phosphoethanolamine--lipid A transferase MCR-1.2
>ncbi~~~mcr-1.3~~~A7J11_04944 phosphoethanolamine--lipid A transferase MCR-1.3

in the headers. I would like to be able to extract from the abricate stdout that mcr-1.3 is a phosphoethanolamine--lipid A transferase

Thanks

@schultzm schultzm changed the title feature request: send annotations from database headers to output table feature request: send description from database headers to output table Sep 8, 2017
tseemann added a commit that referenced this issue Sep 8, 2017
@tseemann tseemann self-assigned this Sep 8, 2017
@tseemann tseemann added this to the Release 1.0 milestone Sep 8, 2017
@tseemann
Copy link
Owner

tseemann commented Sep 8, 2017

Ok, there is a now a PRODUCT column.
Only some DBs and some genes have a product though.

@tseemann tseemann closed this as completed Sep 8, 2017
@schultzm
Copy link
Author

schultzm commented Sep 8, 2017

lightning-fast update. thanks!

@nalbright
Copy link

Where in the fasta header does the product information need to be. I have tried running a database with headers having a space and description (as per instructions for custom DB), but it does not display "product" in the output .csv. Is there a flag that I am missing? or do I have that information in the wrong spot in the fasta header?
Thanks!
Nicolette

@tseemann
Copy link
Owner

@nalbright can you paste the first line of your database sequences file?
and also what does abricate --version say?

@tseemann tseemann reopened this Aug 24, 2019
@nalbright
Copy link

I am running abricate through biocontainer --version: abricate 0.5-dev

Header:

S_epidermidis_ISOLATEDB~~~NP_763556.1~~~OINGLKLB_00795 chromosome replication initiator DnaA; 1056816

Thanks!

@tseemann
Copy link
Owner

@nalbright your version of Abricate is too old. Support for PRODUCT came after 0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants