User Tools

Site Tools


assignments:assignment3key

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

assignments:assignment3key [2018/09/07 11:42] (current)
erin created
Line 1: Line 1:
 +Assignment 3 Key
 +<code bash>
 +1.
 +  A. 96da8be81c47b9a88866d6f2d12bbe99
 +  B. gunzip *.fa.gz
 +  C. 8b665c0a901fc600749a5a1f4439a4b0
  
 +2.
 +  A. cat *.fa > celegans_genome.fa
 +  B. grep "​^>​chr"​ celegans_genome.fa | wc -l 
 +
 +3. 
 +  A. Standard out will be saved to '​output.txt'​. It will contain: '​2005730 2005730 102291839 celegans_genome.fa'​.
 +  B. Standard error will be saved to '​output.txt'​. It will contain: 'wc: blerg.jpb: open: No such file or directory'​.
 +  C. Both standard out and standard error will be saved to '​output.txt'​. It will contain both '​2005730 2005730 102291839 celegans_genome.fa'​ and 'wc: blerg.jpb: open: No such file or directory'​.
 +
 +4. 
 +  A. Calculates the md5 sums
 +  B. Prints the last 7 lines of the md5 sums output
 +  C. Cuts out the "​word"​ that reports the md5 sums of interest; leaves behind extra information.
 +  ​
 +5.
 +  A. grep -nw '​^>​chrII'​ celegans_genome.fa
 +</​code>​
assignments/assignment3key.txt ยท Last modified: 2018/09/07 11:42 by erin