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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started