User Tools

Site Tools


assignments:2016assignment5

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
assignments:2016assignment5 [2017/09/11 22:05]
tai
assignments:2016assignment5 [2017/09/11 23:11] (current)
tai
Line 12: Line 12:
 **1.** Write a tr command to convert a tab delimited file to a comma delimited file (csv). **1.** Write a tr command to convert a tab delimited file to a comma delimited file (csv).
  
-**2.** Write a sed command to convert a csv file to a tab delimited file (use gnu sed if you have it (gsed) instead ​of sed).+**2.** Write a sed command to replace every occurrence ​of the word line with the word entry.
    
 **3.** Write an awk command to extract the chromosome number (1 column) and genomic start and end coordinates (2 columns) from a gff file. Separate the chromosome from the coordinates by a colon and the start and end coordinates by a single dash (e.g. I:123-729 - a common way to display coordinates). **3.** Write an awk command to extract the chromosome number (1 column) and genomic start and end coordinates (2 columns) from a gff file. Separate the chromosome from the coordinates by a colon and the start and end coordinates by a single dash (e.g. I:123-729 - a common way to display coordinates).
assignments/2016assignment5.txt ยท Last modified: 2017/09/11 23:11 by tai