Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from DeepRank/rgayatri-patchtest-1
Browse files Browse the repository at this point in the history
top 20 checks
  • Loading branch information
rgayatri committed Nov 1, 2021
2 parents 2e3939d + 51bb745 commit e4b69a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions scripts/preprocess_bioprodict.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ def get_pdb_mappings(hdf5_path, pdb_root, pssm_root, variant_data):
wt_amino_acid_code = swap[:3]
residue_number = int(swap[3: -3])
var_amino_acid_code = swap[-3:]

for _, row in variant_section.iterrows(): # each row maps the variant to one pdb entry

variants_section= variant_section.iloc[:20]

for _, row in variants_section.iterrows(): # each row maps the variant to one pdb entry

pdb_ac = row["pdb_structure"]

Expand Down
4 changes: 3 additions & 1 deletion scripts/preprocess_bioprodict_with_conservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ def get_pdb_mappings(hdf5_path, pdb_root, variant_data):
wt_amino_acid_code = swap[:3]
residue_number = int(swap[3: -3])
var_amino_acid_code = swap[-3:]

variants_section= variant_section.iloc[:20]

for _, row in variant_section.iterrows(): # each row maps the variant to one pdb entry
for _, row in variants_section.iterrows(): # each row maps the variant to one pdb entry

pdb_ac = row["pdb_structure"]

Expand Down

0 comments on commit e4b69a3

Please sign in to comment.