Code Monkey home page Code Monkey logo

Comments (5)

niklases avatar niklases commented on September 26, 2024

Hi,

I'm interested to use this in another protein, but I don't know how to obtain the VARIANT-FITNESS-ENCODING_DATA.CSV file... How can obtain it for any protein?

Ty

Hi,

the presented framework is a supervised method, so the variant (sequences) and the corresponding fitness values are always required for model training (and testing). If you have these (e.g. collected from lab/literature) you can encode the given variants/sequences using the 'pypef encode' function.
If you don't have these collected, you have to stick to an unsupervised protein fitness prediction method (e.g. EVcouplings/EVmutation).

Hope this helps!

from pypef.

Aaronro16 avatar Aaronro16 commented on September 26, 2024

Hi thanks for your reply,

But I was wrong, I meant how can I obtain the file VARIANT-FITNESS_DATA.CSV??

Cause I kow which residues of the protein I want to mutate and tets.

Thanks again.

from pypef.

niklases avatar niklases commented on September 26, 2024

Welcome,

for generating the encoded variant-fitness CSV file you can use the 'encode' function on your input variant-Fitness CSV, e.g.

pypef encode -e onehot -i avGFP.csv -w P42212_F64L.fasta

for one-hot encoding or

pypef encode -e dca -i avGFP.csv -w P42212_F64L.fasta --params uref100_avgfp.params

as example for DCA-based encoding.

Also see https://github.com/niklases/PyPEF/blob/main/workflow/Workflow_PyPEF.ipynb for further potentially helpful descriptions of available functions and commands.

from pypef.

Aaronro16 avatar Aaronro16 commented on September 26, 2024

Hi,

Sorry but for me isn't clear how do you obtain the columns ddG or E-value from 37_ANEH_variants.csv or fitness column of avGFP.csv.

Thanks again.

from pypef.

niklases avatar niklases commented on September 26, 2024

Hi,

these are (relative) variant fitness values collected from literature, i.e. wet-lab measured fitness values a.k.a. true/measured fitness labels.
These are required for supervised model training - and testing. If you don't have these values available from literature respectively wet-lab, then an unsupervised method has to be used.

from pypef.

Related Issues (4)

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.