Challenge: Calculate Genome Coverage
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Fantastiskt!
Completion betyg förbättrat till 6.25
Challenge: Calculate Genome Coverage
Svep för att visa menyn
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 4
single