Challenge: Calculate Genome Coverage
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 6.25
Challenge: Calculate Genome Coverage
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 4
single