Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Calculate Genome Coverage | NGS Data Processing
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Bioinformatics

bookChallenge: 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 index i is the number of reads that start at position i.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: 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 index i is the number of reads that start at position i.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4
single

single

some-alt