pylelab / USalign

Universal Structure Alignment of Monomeric and Complex Structure of Nucleic Acids and Proteins
https://zhanggroup.org/US-align/
Other
109 stars 24 forks source link

How to use the -i and -I tags #19

Closed sadiogo closed 1 year ago

sadiogo commented 1 year ago

Hi! Can you give examples on how to use the -i and -I tags?

Does it work with the -mm 4 option?

Do I need to specify the path to align.txt file? Or will using just "-i" search for an align.txt file in the current directory?

When -i is used, what does the program actually do with this information ((how does an "initial alignment" contribute to the algorithm)?

Similarly, what does the program do when -I is used (does it perform a structural alignment based on the sequence alignment)?

kad-ecoli commented 1 year ago

-i and -I are for -mm 0. not -mm 4. You need the specify the path to align.txt. You can place align.txt at the current folder. In such as case, you can use a command similar to the following:

USalign structure1.pdb structure2.pdb -I align.txt

When -i is used, US-align will use the specified alignment (together with the five other built-in alignments) as initial alignments, starting from which iterative superimposition-alignment is performed.

When -I is used, US-align performs a structural superimposition based on the provided sequence alignment.