LadnerLab / Library-Design

Repository for code associated with peptide library design
GNU General Public License v3.0
5 stars 2 forks source link

protein_oligo_library import issue #13

Open MinjieHu opened 1 year ago

MinjieHu commented 1 year ago

Hi there,

Thanks for developing such a great tool for the community.

I am trying to run the example data and stuck at the very begining. It looks like several of the python scripts begining with import protein_oligo_library as oligo. No matter which script I am trying to use, it always results with ModuleNotFoundError: No module named 'protein_oligo_library'. Can you point me where can I find this protein_oligo_library?

Thank you!

Minjie

Num0Programmer commented 1 year ago

Hi @MinjieHu,

Thanks for bringing this bug to our attention.

The file you are looking for can be found here. Download the file and copy or move it into the directory where the scripts you are trying to run are located, so it is locally accessible. Alternatively, you can place the script in your PYTHONPATH. For example, if you are working in an Anaconda environment, you can put the script in your base environment: "~/conda_directory_name/lib/python3.x/site-packages/".

Hope this helps!

Num0Programmer

MinjieHu commented 1 year ago

@Num0Programmer ,

Thanks soooooooo much for such a quick response.

May I ask a question about the Pepseq design? Is there any reason that your group add the TEV cleavage site sequences after the start codon?

Minjie

jtladner commented 1 year ago

Hi Minjie,

This was a decision made during the initial development of the PepSeq platform. The reasoning was that including a short constant amino acid sequence at the beginning of each peptide might help ensure a tighter final abundance distribution of the different library members. And by making it a TEV cleavage site, most of this sequence could be removed following synthesis.

However, inclusion of the TEV sequence is not strictly required, and it would be interesting to see how things might change if it was removed.

Jason

MinjieHu commented 1 year ago

Got it. Thank you!