diff stitch.py @ 4:71831ead9e16 draft

"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit f3a482a9df3fd689699752cdd0751e83670e3b64"
author brinkmanlab
date Tue, 23 Jun 2020 15:54:29 -0400
parents c14690ec0c9f
children
line wrap: on
line diff
--- a/stitch.py	Tue Jun 16 13:30:24 2020 -0400
+++ b/stitch.py	Tue Jun 23 15:54:29 2020 -0400
@@ -128,10 +128,5 @@
         result.id = seqid
         result.description = ""
 
-    seqlenlen = len(str(len(result)))
-    if len(result.id) + 1 + seqlenlen > 28:
-        # Genbank has a max length for the id and sequence length number, truncate the sequence id ov too long
-        result.id = result.id[:27 - seqlenlen]
-
     result.seq.alphabet = Alphabet.generic_dna # TODO Investigate why this is required for some datasets
     SeqIO.write(result, sys.stdout, draft_format)