{"action":"created","issue":{"url":"https://api.github.com/repos/Victorian-Bioinformatics-Consortium/prokka/issues/89","labels_url":"https://api.github.com/repos/Victorian-Bioinformatics-Consortium/prokka/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/Victorian-Bioinformatics-Consortium/prokka/issues/89/comments","events_url":"https://api.github.com/repos/Victorian-Bioinformatics-Consortium/prokka/issues/89/events","html_url":"https://github.com/Victorian-Bioinformatics-Consortium/prokka/issues/89","id":62520821,"number":89,"title":"request: Submitting SQN files to genbank","user":{"login":"john-nash","id":677758,"avatar_url":"https://avatars.githubusercontent.com/u/677758?v=3","gravatar_id":"","url":"https://api.github.com/users/john-nash","html_url":"https://github.com/john-nash","followers_url":"https://api.github.com/users/john-nash/followers","following_url":"https://api.github.com/users/john-nash/following{/other_user}","gists_url":"https://api.github.com/users/john-nash/gists{/gist_id}","starred_url":"https://api.github.com/users/john-nash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-nash/subscriptions","organizations_url":"https://api.github.com/users/john-nash/orgs","repos_url":"https://api.github.com/users/john-nash/repos","events_url":"https://api.github.com/users/john-nash/events{/privacy}","received_events_url":"https://api.github.com/users/john-nash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-17T21:18:27Z","updated_at":"2015-03-18T15:10:21Z","closed_at":null,"body":"I assembled and annotated a genome with prokka (about 2 years ago), and sent the draft to my colleagues to do their lab gene id work.  We published and now I want to submit the original prokka annotation to genbank because my colleagues published the locus tags which were assigned by prokka back then. I should have talked to them and re-annotated using the --compliant switch but it did not happen because they are chemists and don't know of such arcane procedures (i.e. *mea culpa*).\r\n\r\nSo I submitted the two year old sqn file.  Genbank apparently is not pleased with me and sent me a polite email with a list of things to fix.  One of their instructions was \r\n\r\n>[3] Your .sqn file is not formatted correctly.  You need to include a template file when you run tbl2asn. You can create a template here: http://www.ncbi.nlm.nih.gov/WebSub/template.cgi.\r\n\r\nFollowed by:\r\n> [8] We would recommend you use tbl2asn to create your WGS submission. Our web pages, http://www.ncbi.nlm.nih.gov/Genbank/wgs.html and http://www.ncbi.nlm.nih.gov/Genbank/tbl2asn2.html describe WGS submissions and how to use tbl2asn to create them.\r\n\r\n>To create your submissions, you will need a template file (.sbt) and the *.fsa files of sequences in fasta format. You can create a template here: http://www.ncbi.nlm.nih.gov/WebSub/template.cgi. \r\n\r\n>Note that, if you have annotation,  you should use the same base name for the .fsa and the corresponding .tbl files so the annotation gets included in the resulting .sqn file.\r\n\r\n>For example:\r\n               contigs.fsa\r\n               contigs.tbl\r\n\r\n>Run the following tbl2asn command line including the -j argument to add the organism name and the strain name in your .sqn file like this:\r\n\r\n>tbl2asn -p path_to_files -t template.sbt -M n -Z discrep -j \"[organism=Escherichia coli] [strain=ABCD]\"\r\n\r\n>where path_to_files is the path to the directory where the .fsa and .tbl files are located.\r\n\r\n>To use the \"-M n\" argument you need to use tbl2asn version 19.6 or higher.  You can download the latest version at ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/\r\n\r\nFor future submissions, would it be a bad thing to request the feature that if an appropriately named \"template.sbt\" is in the same subdirectory as the fasta file being annotated, that it can be fed to tbl2asn?\r\n\r\nThanks\r\nJohn\r\n"},"comment":{"url":"https://api.github.com/repos/Victorian-Bioinformatics-Consortium/prokka/issues/comments/83016790","html_url":"https://github.com/Victorian-Bioinformatics-Consortium/prokka/issues/89#issuecomment-83016790","issue_url":"https://api.github.com/repos/Victorian-Bioinformatics-Consortium/prokka/issues/89","id":83016790,"user":{"login":"aleimba","id":6207266,"avatar_url":"https://avatars.githubusercontent.com/u/6207266?v=3","gravatar_id":"","url":"https://api.github.com/users/aleimba","html_url":"https://github.com/aleimba","followers_url":"https://api.github.com/users/aleimba/followers","following_url":"https://api.github.com/users/aleimba/following{/other_user}","gists_url":"https://api.github.com/users/aleimba/gists{/gist_id}","starred_url":"https://api.github.com/users/aleimba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleimba/subscriptions","organizations_url":"https://api.github.com/users/aleimba/orgs","repos_url":"https://api.github.com/users/aleimba/repos","events_url":"https://api.github.com/users/aleimba/events{/privacy}","received_events_url":"https://api.github.com/users/aleimba/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T15:10:21Z","updated_at":"2015-03-18T15:10:21Z","body":"If I may chime in here. It still think including `tbl2asn` in Prokka is a plus. After all many submit to NCBI and it's one more step included in the pipeline. Maybe have an option for that?\r\n\r\nAside from that submitting to NCBI is very cumbersome and you'll have to go through the fatal errors anyway. I've heard many good things about the ENA/EBI workflow, just never got around to try it myself.\r\n\r\nThere's also an option in [Artemis](https://www.sanger.ac.uk/resources/software/artemis/) to save an entry as EMBL submission format (under 'File -> Save an Entry as -> EMBL Submission Format'), which will also show errors that have to be resolved."}}