Talk:Bioinformatics/Global alignment: Difference between revisions

From Rosetta Code
Content added Content deleted
mNo edit summary
Line 2: Line 2:
There are in fact three possible shortest common superstrings of length 6 for {"TA", "AAG", "TA", "GAA", "TA"} aka {"TA","AAG","GAA"}, being
There are in fact three possible shortest common superstrings of length 6 for {"TA", "AAG", "TA", "GAA", "TA"} aka {"TA","AAG","GAA"}, being
{"GAAGTA","TAGAAG","TAAGAA"}. So, pick one at random or report on all three? (The other tests all seem to be unique) --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 14:02, 7 February 2021 (UTC)
{"GAAGTA","TAGAAG","TAAGAA"}. So, pick one at random or report on all three? (The other tests all seem to be unique) --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 14:02, 7 February 2021 (UTC)

I would say give one of the proper length and it is ok. Listing all three would be optional, and better. --[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 07:34, 8 February 2021 (UTC)

Revision as of 07:34, 8 February 2021

Three possible answers

There are in fact three possible shortest common superstrings of length 6 for {"TA", "AAG", "TA", "GAA", "TA"} aka {"TA","AAG","GAA"}, being {"GAAGTA","TAGAAG","TAAGAA"}. So, pick one at random or report on all three? (The other tests all seem to be unique) --Pete Lomax (talk) 14:02, 7 February 2021 (UTC)

I would say give one of the proper length and it is ok. Listing all three would be optional, and better. --Wherrera (talk) 07:34, 8 February 2021 (UTC)