Coder Social home page Coder Social logo

psipred / dmpfold2 Goto Github PK

View Code? Open in Web Editor NEW
47.0 5.0 11.0 131.49 MB

Fast and accurate protein structure prediction

License: GNU General Public License v3.0

Python 100.00%
protein-structure-prediction deep-learning multiple-sequence-alignment end-to-end

dmpfold2's Issues

Recommendations for handling ambiguous amino acid characters (X and N)?

I noticed that input alignments with characters "X" and "N" cause a KeyError at line 202 of the predict.py script. Obviously DMPfold2 is only set up to handle the basic 20 amino acid alphabet.

Do you have any recommendations for how to generate predictions from such alignments without simply removing columns with ambiguous characters?

KeyError: 21

hey
I have an issue:
Traceback (most recent call last):
File "/home/marcin/anaconda3/envs/dmpfold2/bin/dmpfold", line 5, in
run_dmpfold()
File "/home/marcin/anaconda3/envs/dmpfold2/lib/python3.8/site-packages/dmpfold/predict.py", line 202, in run_dmpfold
atomnum, an, rnamedict[alnmat[0,ri]], ri + 1,
KeyError: 21

Do you know what could be wrong?

I use dmpfold2 on cpu
0: AMD Ryzen 9 3950X
Microarchitectures:
32x Zen 2
<32gb RAM

Recommendation to build side-chain conformations after dmpfold?

Hi, dmpfold is really fast! Thanks!
I would like to know if dmpfold has been further evaluated by building side-chain conformations to the output backbone structure?
If yes, which package do you recommend to build side-chain conformations after dmpfold?

UnicodeEncodeError

Hey again
Another problem... I want to run dmpfold2 on other computer and get this:

(dmpfold) marcin@marcin-Precision-7920-Tower:/mnt/7fee140a-a85e-4bbb-96b1-4a34cdb806c1$ dmpfold -i PF10963.aln -d cuda:0 > fold.pdb
Traceback (most recent call last):
File "/home/marcin/anaconda3/envs/dmpfold/bin/dmpfold", line 5, in
run_dmpfold()
File "/home/marcin/anaconda3/envs/dmpfold/lib/python3.8/site-packages/dmpfold/predict.py", line 184, in run_dmpfold
coords, confs, alnmat = aln_to_coords(args.input_file, device=args.device,
File "/home/marcin/anaconda3/envs/dmpfold/lib/python3.8/site-packages/dmpfold/predict.py", line 128, in aln_to_coords
alnmat = (np.frombuffer(''.join(aln).translate(aa_trans).encode('latin-1'), dtype=np.uint8) - ord('A')).reshape(nseqs,length)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u21b5' in position 102630: ordinal not in range(256)
(dmpfold) marcin@marcin-Precision-7920-Tower:/mnt/7fee140a-a85e-4bbb-96b1-4a34cdb806c1$

do you know what could be wrong?
all best
Marcin

Update
its my fault, bad input

cannot reshape array of size ... into shape (..., ...)

Hi, I was trying to run DMPfold2, but the next error appeared:

Traceback (most recent call last):
File "./dmpfold", line 5, in
run_dmpfold()
File "/home/esgarle/.local/lib/python3.8/site-packages/dmpfold/predict.py", line 175, in run_dmpfold
coords, confs, alnmat = aln_to_coords(args.input_file, device=args.device,
File "/home/esgarle/.local/lib/python3.8/site-packages/dmpfold/predict.py", line 121, in aln_to_coords
alnmat = (np.frombuffer(''.join(aln).translate(aa_trans).encode('latin-1'), dtype=np.uint8) - ord('A')).reshape(nseqs,length)
ValueError: cannot reshape array of size 1977853 into shape (10740,41)

I am not sure if this error is related to the size of the input file, with aln format. It contains around 1500 sequences.

Sequence alignment in `.aln` format

Is there any specification for .aln format available? Or are there any tools converting from .a3m format to .aln?

I did google for .aln specification, but nothing found. I had tried also using converter from https://github.com/soedinglab/hh-suite/blob/master/scripts/reformat.pl, but non of the output had matched provided example (https://github.com/psipred/DMPfold2/tree/master/dmpfold/example/PF10963.aln).

I did check also online version of HHblits, but also did not found way to download results in your format. Here is my job:
https://toolkit.tuebingen.mpg.de/jobs/8863800

Sequence I'm looking alignment for is MDVVSLDKPFMYFEEIDNELDYEPESANEVAKKLPYQGQLKLLLGELFFLSKLQRHGILDGATVVYIGSAPGTHIRYLRDHFYNLGVIIKWMLIDGRHHDPILNGLRDVTLVTRFVDEEYLRSIKKQLHPSKIILISDVASAAGGNEPSTADLLSNYALQNVMISILNPVASSLKWRCPFPDQWIKDFYIPHGNKMLQPFAPSYSAEMRLLSIYTGENMRLTRVTKSDAVNYEKKMYYLNKIVRNKVVVNFDYPNQEYDYFHMYFMLRTVYCNKTFPTTKAKVLFLQQSIFRFLNIP

My a3m file: rcsb_pdb_2GAF_part.a3m.txt

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.