New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command-line version of AF2-Multimer? #34
Comments
AF2-Multimer runs on command-line interface. How about installing it from DeepMind repository? It's very nice! |
The folks from Colabfold are already working on incorporating it into their code to work with MMSeqs2 |
Yes, I notice it, and the ColabFold team including me is now testing the new version in the background. The new Google Colab notebook of ColabFold will be released in a few days. I'll also port it into this repository. |
The new notebook compatible with AF2-Multimer is now public. I'll port it into this repository, but please wait for a few days until I'm free. Alternatively, Colabfold now has a |
Thanks for the work, I am wondering whether the upcoming AF2-Multimer code that is compatible with local machine would be using Jackhmmer? |
Hi, I was wondering if |
@ShannonTown Yes, since yesterday actually: sokrypton/ColabFold#88 (for older versions, you can use the csv input) |
Thank you. I replaced the batch.py file in my virtual environment, " If I were to try csv input, how should I make the csv files? I couldn't find an example. |
I recommend |
Hi, I reinstalled colabfold and put the whole complex in one line with colons between chains, and got the following error: If you require more MSAs, please host your own API and pass it to Here's what I put in the fasta file, there are 4 chains and ~142 AA each: '>sp|P69905|HBA_HUMAN Hemoglobin subunit alpha OS=Homo sapiens OX=9606 GN=HBA1 PE=1 SV=2 |
I put the 4 chains in a .csv file with 2 columns, one named "id", the other named "sequence", and colabfold_batch returned the following error: Traceback (most recent call last): Thank you! |
Did The .fasta file contain ">" at the beginning of 1st line? |
Yes, it contains a ">" at the first line, somehow the ">" was interpreted as a sign for quote |
Certainly. I got it. |
@ShannonTown I ran into the same issue/error you had. Have you figured out a way to fix this? Thanks!! |
@hz424 I managed to modify the AlphaFold2_mmseqs2 notebook to run locally in Jupyter, and it worked for multimers when I put colons between chains. Still not sure why in the command line |
@ShannonTown Could it be your case is also sokrypton/ColabFold#97 (comment)? For running it locally, what modification did you have to make, and did see you the local runtimes option in colab? |
I didn't use the local runtime options in colab because I was not aware of this before. I included my local virtual environment as sys.path, which has colabfold installed, and ran the program locally in JupyterHub. @hz424 I looked at sokrypton/ColabFold#97 (comment) and batch.py, I think the problem is that the function If we use the file path as input, it should work with a fasta file if you put colon between chains (seems that it still would not work if you use '<fasta name' to separate different sequences, have to use colon.): I think right now the batch mode only works for a directory of fasta files each with a single chain, but doesn't work for a directory of fasta files each with multiple chains. PS, @konstin , in line 181-187 of batch.py, the |
Hi @ShannonTown, I know discussion is quite old now, but the proper format for Fasta file or multiple fasta files in the same folder won't work with
|
So for AF multiuser v2 I need to create a sequence file named 1abc.csv with the following in this format: id,sequence |
Thanks so much for your reply! I got it after using it for some time.
…On Thu, Aug 4, 2022 at 12:51 jenchem ***@***.***> wrote:
Hi @ShannonTown <https://github.com/ShannonTown>, I know discussion is
quite old now, but the proper format for csv import should be like this.
batch.py data import function is looking for column names id and sequence.
Fasta file or multiple fasta files in the same folder won't work with --model-type
AlphaFold2-multimer.
id,sequence
Complex,VLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHFDLSHGSAQVKGHGKKVADALTNAVAHVDDMPNALSALSDLHAHKLRVDPVNFKLLSHCLLVTLAAHLPAEFTPAVHASLDKFLASVSTVLTSKYR:MVHLTPEEKSAVTALWGKVNVDEVGGEALGRLLVVYPWTQRFFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVANALAHKYH:MVLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHFDLSHGSAQVKGHGKKVADALTNAVAHVDDMPNALSALSDLHAHKLRVDPVNFKLLSHCLLVTLAAHLPAEFTPAVHASLDKFLASVSTVLTSKYR:MVHLTPEEKSAVTALWGKVNVDEVGGEALGRLLVVYPWTQRFFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVANALAHKYH
So for AF multiuser v2 I need to create a sequence file named 1abc.csv
with the following in this format:
id,sequence
Complex,QWERTY : ASDFGH
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHH5XFJDUV2YPCUYMZ46IYLVXPYI7ANCNFSM5HSRKPFA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Yoshitaka-san,
As you mentioned AF2-Multimer seem to be available now.
Is there a way we can port it to command line version?
Just like your great AF2_advanced.
G.V.
The text was updated successfully, but these errors were encountered: