Challenge: Calculate Genome Coverage
Opgave
Swipe to start coding
Write a Python function that calculates genome coverage from sequencing read start positions.
- Accept a list of integers,
read_starts, representing the start position of each read. - Accept an integer,
genome_length, representing the total length of the genome. - Return a list of integers of length
genome_length, where each element at indexiis the number of reads that start at positioni.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 4
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 6.25
Challenge: Calculate Genome Coverage
Stryg for at vise menuen
Opgave
Swipe to start coding
Write a Python function that calculates genome coverage from sequencing read start positions.
- Accept a list of integers,
read_starts, representing the start position of each read. - Accept an integer,
genome_length, representing the total length of the genome. - Return a list of integers of length
genome_length, where each element at indexiis the number of reads that start at positioni.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 4
single