Challenge: Identify Conserved Regions
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 6
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
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?
Génial!
Completion taux amélioré à 6.25
Challenge: Identify Conserved Regions
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 6
single