Vidéo pédagogique
Notice
Lieu de réalisation
Grenoble
Sous-titrage
Sous-titre
Langue :
Anglais
Crédits
François Rechenmann (Intervention)
Conditions d'utilisation
Ces ressources de cours sont, sauf mention contraire, diffusées sous Licence Creative Commons. L’utilisateur doit mentionner le nom de l’auteur, il peut exploiter l’œuvre sauf dans un contexte commercial et il ne peut apporter de modifications à l’œuvre originale.
DOI : 10.60527/a5b7-ky39
Citer cette ressource :
François Rechenmann. Inria. (2015, 5 février). 1.5. Counting nucleotides , in 1. Genomic texts. [Vidéo]. Canal-U. https://doi.org/10.60527/a5b7-ky39. (Consultée le 16 juin 2024)

1.5. Counting nucleotides

Réalisation : 5 février 2015 - Mise en ligne : 9 mai 2017
  • document 1 document 2 document 3
  • niveau 1 niveau 2 niveau 3
Descriptif

In this session, don't panic. We will design our first algorithm. This algorithm is forcounting nucleotides. The idea here is that as an input,you have a sequence of nucleotides, of bases, of letters, of characters which ends with a star symbol, here. And, you want to count the number of A,C, G and T, and then the frequencies. To write an algorithm in thispseudo code language, you need first to declare on which objector variables you will work. Here, we declare severalinteger variables. What does it mean integer variables? That is a variable, the value of which can be an integer: 1, 2, 3, minus 9 and so on. So, integer is what we call "akeyword" which belongs to the pseudo code language. We also need to declare a sequence as a sequence of characters, a character string. The length of which is not specified. It starts in one andit ends somewhere. Sequence of one is the first character of the sequence. Then, you have to initialize your variable. That is to give the first value.

Intervention

Dans la même collection

Avec les mêmes intervenants et intervenantes