Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting data 1

Status
Not open for further replies.

JohnLucania

Programmer
Oct 10, 2005
96
0
0
US
How do you parse the data (Seq.txt) into a table in mysql?

The txt data look like:
>AREDD7|Mus musculus|brain|45545|411|741
aagcggccggtctgcagtcggagacttgcaggcagcaaacacggtgcgaacgaaccggag
gggggagagagaaatcaaacagctaagcgtggagcagacggcctgggacccagaagggga
tcgatgcgaggagcgcaataata
>RTAAD|Bacteria|Pro|122|3212129|204340
aagcggccggtctgcagtcggagacttgcaggcagcaaacacggtgcgaacgaaccggag
gggggagagagaaatcaaacagctaagcgtggagcagacggcctgggacccagaagggga
tcgatgcgaggagcgcaataata
> bla........
aaagaga
>bla ........

There are 8 corresponding fields in the table. The first field is Auto-increment ID.

jl
 
John, this isn't a problem, if it was a problem we could help ... it's who we are

First point in problem solution is statement of problem ...
Does it always start with >


Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top