Challenge: Calculate Genome Coverage
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 4
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Großartig!
Completion Rate verbessert auf 6.25
Challenge: Calculate Genome Coverage
Swipe um das Menü anzuzeigen
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 4
single