Thursday, April 25, 2013

An introduction to the command line

Week 1

Text file example - rhododendrons in Origin of Species (Right-click, save linked file):
http://www.gutenberg.org/cache/epub/1228/pg1228.txt

Today's Inspiration:
Is a short sequence motif (ex. a restriction site) located in a long sequence?
How many examples of that motif exist?
How many sequences exist that could mutate to become this restriction site? (for example, are one or two bases away from the motif)

Ngan's flanking sequence file (Click link to download):
Copia_Full_Element_Flank.fasta


grep -c -E ".TGCAG|C.GCAG|CT.CAG|CTG.AG|CTGC.G|CTGCA." Copia_Full_Element_Flank.fasta