So my entire project is to use LIBSVM to predict a protein's function. What I have been doing, is taking the Protein database's list of protein numbers (accession numbers, the 6 digit things) and matching them to their PF numbers, which is in what PF groups. The two files i have been using are up there. Now I have managed to get the data in the following format:

B3T3Y0 | PF02517.11 B3T4D5 | PF13371.1 PF13369.1 B3T4G0 | PF13607.1 B3T516 | PF08438.5 B3T517 | PF13207.1 PF13238.1 B3T644 | PF14382.1 B3T662 | PF13248.1 B3T663 | PF13248.1 PF13248.1 PF13240.1

which is what i actually wanted all along. Thanks Count Zero. What i don't know is what to do to put it into LIBSVM, but my groupmate is looking into that. Thanks everyone though!


In reply to Re^2: Making a hash with groups of IDs by jemswira
in thread Making a hash with groups of IDs by jemswira

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.