Count Unique Values in a Stream
A list of values arrives on standard input, one per line. Count how many times each distinct value appears, and …
Find your next bioinformatics challenge and work through it at your pace.
A list of values arrives on standard input, one per line. Count how many times each distinct value appears, and …
A single DNA sequence arrives on standard input. Transcribe it into RNA by replacing every occurrence of T with U, …
You are given a raw DNA sequence that may contain lowercase letters, ambiguity codes, and N characters. Clean it by …
Given a primer sequence, compute its melting temperature (Tm) in degrees Celsius using the Wallace rule for short primers and …
You are given a multi-FASTA file on standard input. Each record begins with a header line starting with >, followed …
Given a DNA sequence and an integer k, produce the frequency array: the count of every possible k-mer over the …
Define Skew(i) as the number of G minus the number of C in the first i characters of a genome, …
Given a DNA sequence, find every distinct protein string that can be translated from an open reading frame in any …
You are given FASTQ records and a quality threshold. Each record is exactly four lines: a header starting with @, …
A reverse palindrome is a DNA substring that equals its own reverse complement. Given a DNA sequence, find every reverse …
You are given two DNA sequences of equal length. At each position where they differ, classify the substitution as either …
You are given several DNA sequences of equal length in multi-FASTA format. For every ordered pair of sequences, compute the …
A population contains k homozygous dominant individuals (AA), m heterozygous individuals (Aa), and n homozygous recessive individuals (aa). Two individuals …
Given two protein or DNA strings, compute their edit distance: the minimum number of insertions, deletions and substitutions required to …
You are given a set of exon intervals as half-open ranges [start, end) on a single chromosome. Merge every group …
You are given the observed counts of three genotypes at a biallelic locus: homozygous for the major allele (AA), heterozygous …
You are given a gene expression count matrix. The first line is a header with the gene column label followed …
Given a collection of DNA strings and integers k and t, find a k-mer motif in each of the t …
Given a set of DNA strings and an integer k, find a median string: the k-mer that minimises the sum, …
Given two DNA strings, find a longest common subsequence: the longest string that appears in both as a subsequence, meaning …
You are given a symmetric distance matrix over n taxa labelled 0 to n-1. Build a UPGMA tree by repeatedly …
You are given six integers giving the number of couples in a population with each of these genotype pairings, in …