Skip to content

Commit

Permalink
Working around oxpig/ANARCI#43.
Browse files Browse the repository at this point in the history
  • Loading branch information
merkys committed Oct 3, 2022
1 parent bc56c3a commit e06a1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakefiles/antibody-complexes.smk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rule extract_complex:
shell:
"""
mkdir --parents $(dirname {output})
COMPLEX=$(PYTHONPATH=. bin/contact-graph {input.vorocontacts} --pdb {input.pdb} --output-complexes --most-contacts)
COMPLEX=$(PYTHONPATH=. bin/contact-graph {input.vorocontacts} --pdb {input.pdb} --output-complexes --most-contacts | grep -v ^Limiting)
bin/pdb_select --chain $(echo $COMPLEX | cut -c 1) --chain $(echo $COMPLEX | cut -c 2) --chain $(echo $COMPLEX | cut -c 3) {input.pdb} \
| PYTHONPATH=. bin/pdb_rename_chains --map $(echo $COMPLEX | cut -c 1):A --map $(echo $COMPLEX | cut -c 2):H --map $(echo $COMPLEX | cut -c 3):L > {output}
echo COMPLX $COMPLEX >> {output}
Expand Down

0 comments on commit e06a1b3

Please sign in to comment.