I have a list of genes id e.g.
gene27 and so on.
I need extract the gene names with fasta sequence from assembly fie. Assembly file looks:
ATACCCAAAAAAACCGCGAT and so on.
Can anyone help me to write a shell script that will search gene names of my gene list in the assembly file and will give the output with associated DNA sequence. Example output for gene01 is: