Skip to content

Commit

Permalink
feat(run_alphafold2_msa): Added code from run_alphafold2.nf so that t…
Browse files Browse the repository at this point in the history
…he script does not attempt to modify the existing database file
  • Loading branch information
nbtm-sh committed Aug 8, 2024
1 parent edff052 commit ea4459a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/local/run_alphafold2_msa.nf
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ process RUN_ALPHAFOLD2_MSA {
alphafold2_model_preset += " --pdb70_database_path=${params.pdb70_dir_path}${params.pdb70_name} "
}
"""
#if [ -f pdb_seqres/pdb_seqres.txt ]
#if [ -f ${params.pdb_seqres_dir_path}/${params.pbd_seqres_txt_name} ]
# \$PDB_SEQRES_TEMP=\$(mktemp --directory)
# cp ${params.pdb_seqres_variable}pdb_seqres.txt \${PDB_SEQRES_TEMP}/
# then sed -i "/^\\w*0/d" \$PDB_SEQERS_TEMP/pdb_seqres.txt
# cp ${params.pdb_seqres_dir_path}${params.pdb_seqres_txt_name} \${PDB_SEQRES_TEMP}/
# then sed -i "/^\\w*0/d" \$PDB_SEQERS_TEMP/${params.pdb_seqres_txt_name}
#fi
python3 /app/alphafold/run_msa.py \
--fasta_paths=${fasta} \
Expand Down

0 comments on commit ea4459a

Please sign in to comment.