GithubHelp home page GithubHelp logo

Comments (7)

twopin avatar twopin commented on August 18, 2024

Hi, Thank you for your interests in our work. I uploaded these two scripts now.

from camp.

liuzhelz avatar liuzhelz commented on August 18, 2024

Anyone can help with the step2?

How to generate the file: './pdb/peptide-mapping.txt'? I can not find the "query_mapping.py" and "target_mapping.py ".

"#python query_mapping.py #to get peptide sequence vectors (the output is "peptide-mapping.txt ")" "#python target_mapping.py #to get target sequence vector"

Thank you!

Hi, @twopin @Alyssa-vv , i have some trouble in dada_prepare/step_2, i can not find crawl_results.csv in the module data_prepare/query-mapping.py, could you give me some help?

Thank you!

from camp.

twopin avatar twopin commented on August 18, 2024

Sorry I did not save the intermediate file but you can use your own data. The important part of the script begins from line 49. You can adjust the script according to your own data format.

from camp.

liuzhelz avatar liuzhelz commented on August 18, 2024

Sorry I did not save the intermediate file but you can use your own data. The important part of the script begins from line 49. You can adjust the script according to your own data format.

csvfile=open('crawl_results.csv','r')
reader=csv.reader(csvfile)
residue_dict={}
seq_dict={}
    
for item in reader:
    if reader.line_num==1:  
        continue
    qid=item[0]
    querys.append(qid)
    pep_index=item[1].split(': ') #prot_index=item[3].split(': ')
    residue_dict[item[0]]=pep_index[1]
    seq_dict[item[0]]=item[2].split(': ')[1]#seq_dict[item[0]]=item[4].split(': ')[1]

Hi,@twopin Thank you for your reply. Now I have 'interacted peptide protein pairs from PDB', 'PLIP_results', 'pdbid_ all_ fasta' and 'pdb_ pep_ Chain' files generated from step_1 and PepBDB data set mentioned in the paper, but I don't know what data should be used to generate the 'crawl_results.csv' file?What is the function of this file.

Thank you!

from camp.

NingNing-C avatar NingNing-C commented on August 18, 2024

Hi @liuzhelz,

I also have the same problem, did you solve it?

Many thanks!

from camp.

twopin avatar twopin commented on August 18, 2024

Hi @liuzhelz @NingNing-C Sorry that I didn't reply earlier. I've uploaded a script called crawl.py to generate such results.

from camp.

NingNing-C avatar NingNing-C commented on August 18, 2024

Hi @twopin, Thanks so much for your quick reply, but I can't find the script crawl.py, could you please check it?

Hi @liuzhelz @NingNing-C Sorry that I didn't reply earlier. I've uploaded a script called crawl.py to generate such results.

from camp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.