Question
How to create a CGI script that reads a FASTA file and displays a table with three columns: 1. The ID portion of the header
How to create a CGI script that reads a FASTA file and displays a table with three columns:
1. The ID portion of the header
2. The length of the sequence
3. The rest of the header Should only shows 20 entries.
Should look like this
gi|170081572|ref|YP_001730892.1| 136 | flagellar protein FliS [Escherichia coli str. K-12 substr. DH10B]
gi|170080927|ref|YP_001730247.1| 1002 | transposase [Escherichia coli str. K-12 substr. DH10B]
gi|170083108|ref|YP_001732428.1| 195 | mannitol repressor protein [Escherichia coli str. K-12 substr. DH10B]
gi|170081288|ref|YP_001730608.1| 346 | putative oxidoreductase [Escherichia coli str. K-12 substr. DH10B]
The final result should be 3 column table
you can use biocode libraries for FASTA parsing
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