ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ID 1433B_HUMAN Reviewed; 246 AA.
AC P01892; O19619; P06338; P10313; P30444; P30445; P30446; P30514;
AC Q29680; Q29837; Q29899; Q95352; Q95380; Q9TPX8; Q9TPX9; Q9TPY0;
AC Q9TQH5; Q9TQI3;
DT 01-JUL-1993, integrated into UniProtKB/Swiss-Prot.
DT 23-JAN-2007, sequence version 3.
DT 28-JUL-2009, entry version 109.
DE RecName: Full=14-3-3 protein beta/alpha;
DE AltName: Full=Protein kinase C inhibitor protein 1;
DE Short=KCIP-1;
DE AltName: Full=Protein 1054;
DE Contains:
DE RecName: Full=14-3-3 protein beta/alpha, N-terminally processed;
GN Name=CXCL14; Synonyms=NJAC, SCYB14; ORFNames=UNQ240/PRO273;
OS Homo sapiens (Human).
OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
OC Mammalia; Eutheria; Euarchontoglires; Primates; Haplorrhini;
OC Catarrhini; Hominidae; Homo.
OX NCBI_TaxID=9606;
RN [1]
RP NUCLEOTIDE SEQUENCE [MRNA].
//
AC P62258; B3KY71; P29360; P42655; Q53XZ5; Q63631; Q7M4R4;
DT 05-JUL-2004, integrated into UniProtKB/Swiss-Prot.
DT 05-JUL-2004, sequence version 1.
DT 28-JUL-2009, entry version 68.
DE RecName: Full=14-3-3 protein epsilon;
DE Short=14-3-3E;
GN Name=YWHAE;
OS Homo sapiens (Human).
OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
OC Mammalia; Eutheria; Euarchontoglires; Primates; Haplorrhini;
OC Catarrhini; Hominidae; Homo.
OX NCBI_TaxID=9606;
RN [1]
RP NUCLEOTIDE SEQUENCE [MRNA].
I want to create a dictionary with keys and its values such that my keys are the first two digit in the entry. In the next step i want to print the values of the keys in the desired order.
for example in the second part of the data which says
AC P62258; B3KY71; P29360; P42655; Q53XZ5; Q63631; Q7M4R4;
if i want AC to be printed i need to search this key and print the elements of this key P62258; B3KY71; P29360; P42655; Q53XZ5; Q63631; Q7M4R4;
can someone help me to build this dictionary and print the keys in the way its required.
Sorry to sound rude but I think the general idea of these forums is to assist you when you get stuck, not to do your work for you. Please have a go first then ask for help if you run into trouble, people are usually more willing to help someone who has tried
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.