Hi all ,
I have some data with a lot of colums but I just want to put out some colums in the diffirent file.
I find in forum that have the question http://www.daniweb.com/software-development/perl/threads/377421. I used that to solve my problem but it is not seccesfull.
I can put out the data with
num name product star_posi end_posi
1 [gene=KIQ_00005] [protein=hypothetical [location=complement(<1..423)]
but I can not seperare the number of [location] and I can not delete [] of data.
Below is my data:
>lcl|AGQQ01000001.1_cdsid_EHE85001.1 [gene=KIQ_00005] [protein=hypothetical protein] [partial=3'] [protein_id=EHE85001.1] [location=complement(<1..423)]
MSITTHVQALTTALNAIDNHLASMLDHGVTPDQYKAIEPDLIALEHTINHHATIAAQTTALAERTNAAHT
IGSTHLIDYLTTTFGLSKARAHHRINLAHSLYPIPKPNSGSGNGGNGGNPDAGPDGGPGDDDSGDDDPDP
E
>lcl|AGQQ01000001.1_cdsid_EHE85002.1 [gene=KIQ_00010] [protein=hypothetical protein] [protein_id=EHE85002.1] [location=710..1225]
MKPGHFYCEHCGVAHFGAPALNLKLPDPVIEAQSRGHRVSTGSSVCQILNPKPKRHFIKSNIEIPIDGGK
KKLDYGGWVEVEHSDLMTYLNYRNVMKKVRIPGFLASKFPGLEDSYGTPVLLTVKHEDYYPHFQPLEESS
SMYQDFHKGISSREADLRINSWLLVTHEYMR
etc...................................................
I hope the out put:
num name product kind star_posi end_posi
1 gene=KIQ_00005 protein=hypothetical protein 1 423
2 gene=KIQ_00010 protein=hypothetical protein 710 1225
etc...............................................
Could you help me to sovle this problem? Thank you very much.