Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1zna: EPPIC 3.0-alpha does not stop with non-standard SGs and settings #37

Closed
gcapitani opened this issue Feb 13, 2015 · 11 comments
Closed
Assignees
Labels
Milestone

Comments

@gcapitani
Copy link
Contributor

For entry 1zna (a Z-DNA tetramer) in non-standard SG B 2 21 2 EPPIC 3.0-alpha (unlike 2.1.2) does not issue the "non-standard space group error" and completes the run just calculating the AU interface. This version does not yet check for non-standard SGs and settings, which is needed to keep out several hundreds of affected entries in PDB-wide precomputations.

@gcapitani gcapitani added the bug label Feb 13, 2015
@josemduarte josemduarte added this to the 3.0 milestone Jul 22, 2015
@sbliven
Copy link
Member

sbliven commented Nov 8, 2016

This can be solved very similarly to #133

@josemduarte
Copy link
Contributor

That's a good idea, I think we could simply add a new "nonStandard" flag to the PdbInfo table to be able to display this and #133 consistently. The flag would then be populated from BioJava. I can do that part.

@josemduarte josemduarte self-assigned this Nov 8, 2016
@sbliven
Copy link
Member

sbliven commented Nov 22, 2016

Ok, so we will implement this as follows:

  1. Add nonStandard boolean column to PdbInfo. For testing purposes, this could be filled with random data or whatever
  2. In the GUI, add a warning to the structure warnings list if this boolean is true. Warning should say "Non-standard space group. Only contacts in the asymmetric unit will be analyzed."
  3. During database upload, the space group should be checked against the list of valid space groups. If it is not on the list, set nonStandard=true

@josemduarte
Copy link
Contributor

So I'm working already in the server side of this. Pull request biojava/biojava#604 is a step towards this.

I think we should be able to capture 2 sub-cases here:

  • non-standard spage groups, e.g. B 2 21 2 in 1zna
  • non-standard coordinate frame convention, e.g. 4hhb and all those discussed in Be more forgiving of non-standard crystal frames owl#4. This is detectable by comparing the scale matrix in the file to our calculated scale matrix.

I will add the nonStandard column to PdbInfo and set it to true in either of the 2 cases above. So I will take care of points 1 and 3 in @sbliven's list. Point 2 I will leave to @altheaparker. Only a small addition to the warning message: "Non-standard space group or setting. Only contacts in the asymmetric unit will be analyzed."

josemduarte added a commit to josemduarte/eppic that referenced this issue Nov 23, 2016
@josemduarte
Copy link
Contributor

I've now done 1 and 3.

I've actually added 2 fields in PdbInfo instead of just one:

  • nonStandardSg : warning for this should be "Non-standard space group. Only contacts in the asymmetric unit will be analyzed."
  • nonStandardCoordFrameConvention : warning for this should be "Non-standard coordinate frame convention. Only contacts in the asymmetric unit will be analyzed."

I've put the commit in branch issue37. It depends on this PR in biojava: biojava/biojava#605 (which also needs to be cherry-picked into biojava's bugfixes-4.2)

@josemduarte
Copy link
Contributor

I've now merged the branch with these changes. Note that it depends on biojava-4.2.5-SNAPSHOT (available from the bugfixes-4.2 branch).

@sbliven
Copy link
Member

sbliven commented Nov 24, 2016

Is it possible to convert the dev db to have these columns, or do we need to wait for the next repopulation before testing this?

@josemduarte
Copy link
Contributor

Running any of our scripts (with setting hibernate.hbm2ddl.auto=update, which is our default) against the database will update the schema, setting the fields to false. One can then set some to true with a manual update command.

An alternative is doing a full run for 4hhb, produce the webui.dat file and then upload it with UploadToDb (with force replacement option).

@josemduarte
Copy link
Contributor

I've just run the UploadToDb script in dev db, so the schema is updated.

@josemduarte
Copy link
Contributor

Looks like this works now, thanks @altheaparker! Should we close?

@sbliven
Copy link
Member

sbliven commented Dec 7, 2016

Looks good. The database needs to be repopulated, but manually setting values (3hbx and 1zna) shows that it works.

@sbliven sbliven closed this as completed Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants