Question: Unix- bash script ( please help me how to write this bash script with this given file ) Input file - codon.table.T AAA Lys K

Unix- bash script ( please help me how to write this bash script with this given file )

Input file - codon.table.T

AAA Lys K AAC Asn N AAG Lys K AAT Asn N ACA Thr T ACC Thr T ACG Thr T ACT Thr T AGA Arg R AGC Ser S AGG Arg R AGT Ser S ATA Ile I ATC Ile I ATG Met M ATT Ile I CAA Gln Q CAC His H CAG Gln Q CAT His H CCA Pro P CCC Pro P CCG Pro P CCT Pro P CGA Arg R CGC Arg R CGG Arg R CGT Arg R CTA Leu L CTC Leu L CTG Leu L CTT Leu L GAA Glu E GAC Asp D GAG Glu E GAT Asp D GCA Ala A GCC Ala A GCG Ala A GCT Ala A GGA Gly G GGC Gly G GGG Gly G GGT Gly G GTA Val V GTC Val V GTG Val V GTT Val V TAA *** * TAC Tyr Y TAG *** * TAT Tyr Y TCA Ser S TCC Ser S TCG Ser S TCT Ser S TGA *** * TGC Cys C TGG Trp W TGT Cys C TTA Leu L TTC Phe F TTG Leu L TTT Phe F

Assignment :

Use an editor, compose a BASH script (name it "read-codon.bash") that uses a "while" loop to read each line of this file. First, use "grep -v" to exclude stop codons. Then, create three variables to capture the values of three elements on each line. For each line, print the output in the following format: "AAA codes for Lys (K)".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!