source: branches/help/lib/export/embl.eft

Last change on this file was 13424, checked in by westram, 10 years ago
  • remove extra space at end of last sequence line
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1SUFFIX          embl
2BEGIN
3*(|define(formatMeta,"split(\\"[\\",1)|crop(\\" \\")|dropempty|format(firsttab=0;tab=0;width=73;forcenl=\\"|\n\\")|merge(\\"\n\\")"))\
4ID   *(name)   *(|sequence_type); *(|export_sequence|len(.-)) BP.
5XX
6AC   *(acc);
7OS   *(full_name)
8*(organelle|  do(formatMeta)|split|dropempty|srt("*=OG   *\n"))\
9*(tax|        do(formatMeta)|split|dropempty|srt("*=OC   *\n"))\
10XX
11*(version|    do(formatMeta)|split|dropempty|srt("*=SV   *\n"))\
12*(keywd|      do(formatMeta)|split|dropempty|srt("*=KW   *\n"))\
13XX
14*(date|       do(formatMeta)|split|dropempty|srt("*=DT   *\n"))\
15*(db_xref|    do(formatMeta)|split|dropempty|srt("*=DR   *\n"))\
16*(description|do(formatMeta)|split|dropempty|srt("*=DE   *\n"))\
17XX
18*(|readdb(author);readdb(title);readdb(journal);readdb(refgrp);readdb(auth_comm);readdb(nuc_rp)|merge|dropempty|srt("*=RN   [1]\n"))\
19*(author|     do(formatMeta)|split|dropempty|srt("*=RA   *\n"))\
20*(title|      do(formatMeta)|split|dropempty|srt("*=RT   *\n"))\
21*(journal|    do(formatMeta)|split|dropempty|srt("*=RL   *\n"))\
22*(refgrp|     do(formatMeta)|split|dropempty|srt("*=RG   *\n"))\
23*(auth_comm|  do(formatMeta)|split|dropempty|srt("*=RC   *\n"))\
24*(nuc_rp|     do(formatMeta)|split|dropempty|srt("*=RP   *\n"))\
25XX
26*(pubmed_id|  crop(" ")|           dropempty|srt("*=RX   PUBMED *\n"))\
27*(medline_id| crop(" ")|           dropempty|srt("*=RX   MEDLINE *\n"))\
28XX
29*(comment|    do(formatMeta)|split|dropempty|srt("*=CC   *\n"))\
30XX
31FT   source          1..*(|export_sequence|len(.-))
32*(strain|crop(" ")|dropempty|srt("*=FT                   /strain\\=*\n"))\
33XX
34SQ   Sequence *(|export_sequence|len(.-)) BP;
35*(|export_sequence|format_sequence(firsttab=5;tab=5;width=60;gap=10;numright=9))
36//
Note: See TracBrowser for help on using the repository browser.