Challenge: Identify Conserved Regions
Tarefa
Swipe to start coding
Write a Python function that takes a multiple sequence alignment (as a list of equal-length strings) and returns the positions that are fully conserved across all sequences.
- Check if the alignment is empty, and if so, return an empty list.
- For each position in the alignment, check if all sequences have the same character at that position.
- Collect and return the list of positions where all sequences are identical.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Can you explain that in simpler terms?
What are the main benefits of this?
Are there any common issues I should watch out for?
Incrível!
Completion taxa melhorada para 6.25
Challenge: Identify Conserved Regions
Deslize para mostrar o menu
Tarefa
Swipe to start coding
Write a Python function that takes a multiple sequence alignment (as a list of equal-length strings) and returns the positions that are fully conserved across all sequences.
- Check if the alignment is empty, and if so, return an empty list.
- For each position in the alignment, check if all sequences have the same character at that position.
- Collect and return the list of positions where all sequences are identical.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 6
single