Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sequence formats ● GDE – Each sequence delimited by {}’s – Each tag followed by either string in quotes or whitespace-delimited string: creation-date 1/31/98.

Similar presentations


Presentation on theme: "Sequence formats ● GDE – Each sequence delimited by {}’s – Each tag followed by either string in quotes or whitespace-delimited string: creation-date 1/31/98."— Presentation transcript:

1 Sequence formats ● GDE – Each sequence delimited by {}’s – Each tag followed by either string in quotes or whitespace-delimited string: creation-date 1/31/98 comments “ blah blah blah blah “

2 Sequence formats ● GenBank – Each sequence starts with the tag LOCUS and ends with // – Tags are located at the beginning of a line; tag value lines begin with whitespace – Ignore tags you don’t know LOCUS HUMCYAA 3088bp DNA PRI 15JUN-1989 ACCESSION M22877 ORGANISM Homo Sapiens; Eukaryotae; motochondrial eukaryotes; blah blah blah blah // Unique id

3 Centinel tournament ● A deck: the numbers 1..50 in random order ● A game lasts until no numbers are left in deck ● A game is played like this (first player is picked at random): – Player1 vs. dealer (player takes numbers first, then dealer) – All players are updated on the numbers taken by the dealer – All other players are updated on the numbers taken by the current player – Next player vs. dealer – Etc. ● If no more cards, the player stays (the dealer gets 0). Next game begins with next player and new deck.

4 Details ● Before each game newgame is called in all player objects ● When a player is given a new number, give is called with the number as argument ● When the dealer has taken numbers, the numbers are reported to all player objects through update ● When a player has taken numbers, the update method is called in all other player objects with the list of numbers taken ● A tournament lasts 100 games

5

6


Download ppt "Sequence formats ● GDE – Each sequence delimited by {}’s – Each tag followed by either string in quotes or whitespace-delimited string: creation-date 1/31/98."

Similar presentations


Ads by Google