From 96b59936936c270c767d7fccbc5ca88bba92c189 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 12 Oct 2016 12:25:31 -0300 Subject: [PATCH] Patch a serious bug in the embl formating of the sequence leading to frameshifts in the embl formated sequences Former-commit-id: 92d73a91a2486e59809fef0cff0060b14b47be70 Former-commit-id: a034fb4a42dafca46f491d5e7cfe08de8b2eea92 --- org-annotate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-annotate.sh b/org-annotate.sh index d08e4ec..fb8b724 100755 --- a/org-annotate.sh +++ b/org-annotate.sh @@ -303,7 +303,7 @@ pushTmpDir ORG.organnot gsub(" ","",seq); \ printf(" ") ;\ for (i=0; i < 6; i++) { \ - f=substr(seq,i * 10, 10); \ + f=substr(seq,i * 10 + 1, 10); \ pos+=length(f); \ f = f substr(" ",1,10-length(f)); \ printf("%s ",f) \