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

Add option to take NCBI template file for tbl2asn #120

Open
tseemann opened this issue Jun 21, 2015 · 5 comments
Open

Add option to take NCBI template file for tbl2asn #120

tseemann opened this issue Jun 21, 2015 · 5 comments
Assignees

Comments

@tseemann
Copy link
Owner

Email from Yu Wan:

3. Would it be possible to make Prokka to take an option for the NCBI template file?
@tseemann tseemann self-assigned this Jun 21, 2015
@wanyuac
Copy link

wanyuac commented Jun 21, 2015

Hi Torsten, thanks for your consideration of this issue. I am still trying to submit an annotation file to GenBank and I found the problem would be more complicated. Would you wait for me to give you a detailed summary of those issues after I made the submission successful?

@wanyuac
Copy link

wanyuac commented Jun 22, 2015

Hi Torsten,

A template is necessary for generating an SQN file for submitting to GenBank because the reference information is required, according to the email from NCBI:

"[1] 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."

I used this command to run tbl2asn, which works properly:
tbl2asn -V b -a r10k -M n -y 'Annotated using prokka 1.11 from http://www.vicbioinformatics.com' -t AH0650_Sm1.sbt -i AH0650_Sm1.fsa -Z AH0650_Sm1.err 2> tbl2asn.log

Furthermore, I think the option "-l paired-ends" that Prokka uses to run tbl2asn is redundant because the "-l" option does not appear in the tbl2asn's manual.

@tseemann
Copy link
Owner Author

@wanyuac What version of tbl2asn are you using? The -l option has been around for quite a while. Which manual do you mean? Is the manual up to date with the tool?

  -l  Add type of evidence used to assert linkage across assembly gaps (only for TSA records). Must be one of the following:
      paired-ends
      align-genus
      align-xgenus
      align-trnscpt
      within-clone
      clone-contig
      map
      strobe

@tseemann
Copy link
Owner Author

The Prokka manual says that the .sqn file the Prokka produces is for loading into Sequin to combine with your other submitter information. You can then use Sequin to save the final "Seq-Submit" record.

I will consider adding the option. Could you please send me your .SBT file for testing?

@wanyuac
Copy link

wanyuac commented Jun 22, 2015

Hi Torsten

I am using tbl2asn/24.2, whose manual does not contail an option of "-l" (http://www.ncbi.nlm.nih.gov/genbank/tbl2asn2/).

I have sent you my template file already.

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

2 participants