Bioinformatics/Global alignment: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(New post.) |
m (→{{header|Wren}}: Minor tidy) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 274:
std::unordered_set<std::string> shortest;
shortest.
uint64_t shortest_length;
Line 289:
if ( candidate.length() < shortest_length ) {
shortest.clear();
shortest.
shortest_length = candidate.length();
} else if ( candidate.length() == shortest_length ) {
shortest.
}
}
Line 623:
}
// Remove duplicate
private static List<String> deduplicate(List<String> aList) {
List<String> unique = aList.stream().distinct().collect(Collectors.toList());
Line 666:
} else {
indexes[i] = 0;
i +
}
}
Line 1,915:
{{libheader|Wren-str}}
{{libheader|Wren-math}}
<syntaxhighlight lang="
import "./seq" for Lst
import "./str" for Str
import "./math" for Int
/* Gets all permutations of a list of strings. */
|