Skip to content

Using the new checks for polymer type in Group, ... - #555

Merged
sbliven merged 24 commits into
biojava:masterfrom
andreasprlic:master
Aug 23, 2016
Merged

Using the new checks for polymer type in Group, ...#555
sbliven merged 24 commits into
biojava:masterfrom
andreasprlic:master

Conversation

@andreasprlic

Copy link
Copy Markdown
Member

... instead of repeating similar checks in StructureTools.

* 'master' of github.com:biojava/biojava: (36 commits)
  Add some tests for negative residue ranges
  Minor javadoc & warnings fixes
  Fix compilation errors from merge
  Fix MultipleAlignmentJmol resizing bug
  Fixed bug where bonds from struct conn records were not made for multiple models.
  Latest ECOD now contains string quotes around some data fields. Need to remove them for junit tests to parse.
  update test for type of group based on comments from @josemduarte
  Fixing cath urls according to their final layout
  [maven-release-plugin]prepare for next development iteration
  [maven-release-plugin]prepare release biojava-4.2.4
  new utility class for chromosome mappings.
  adding new dependency on guava
  new utility class for chromosome mappings.
  new utility class for chromosome mappings.
  Adding test for genome mapping
  Complete new CATH file names biojava#546 and biojava#544
  Fixing biojava#544 and improving logging
  Some work towards fixing biojava#544
  Back-porting cloning fix (see biojava#541) into bugfixes-4.2
  biojava#542 changing default SCOP download location to Berkeley- SCOP.
  ...
* 'master' of github.com:biojava/biojava:
  [maven-release-plugin]prepare for next development iteration
  [maven-release-plugin]prepare release biojava-5.0.0-alpha6
  Fixed the logic of working out which type of group a group is. Fixed a typo
  Immutability test fails with Cobertura instrumented classes
  Fixed the formatting and added some javadocs
  Upgrade to v1.0.0
  Fixed handling of entities with no chains
  Fixed a null pointer exception from getAtomFromRecord
  Added handling of different residue types.
  Fixed a bug in generation of disulphide bonds - including a test case.
  Added support for D-GAMMA-PEPTIDE being a heatatm (as with mmCIF) not an amino.

# Conflicts:
#	biojava-sequencing/src/test/java/org/biojava/nbio/sequencing/io/fastq/FastqTest.java
@sbliven

sbliven commented Aug 17, 2016

Copy link
Copy Markdown
Member

Were the pom changes intended to belong to this PR?


ChemComp cc = g.getChemComp();

if (ResidueType.lPeptideLinking.equals(cc.getResidueType())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check is not included in g.isPolymeric(). Do we need to add it too? I really can't remember why this is important or not. Ideas anyone?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be lPeptideLinking but not PROTEIN_ONLY? Non-ribosomal peptides?

* 'master' of github.com:biojava/biojava:
  Making recent MmtfActions.writeToOutputStream static
  Fix the doc
  Update the outputstream to be created outside the function
  Update readme.md
  Add Gitter badge
  Write MMTF to an OutputStream
@andreasprlic

Copy link
Copy Markdown
Member Author

To comment on the status of this: During the wednesday skype call we agreed that the checks for polymer type should get added also on the Chain level.


if ( info == null || info.getType() == null) {
logger.warn("No entity info could be found while adding chain with asym id {} (author id {}). Will consider it a polymer chain.", c.getId(), c.getName());
logger.debug("No entity info could be found while adding chain with asym id {} (author id {}). Will consider it a polymer chain.", c.getId(), c.getName());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd keep this at least on INFO level, this is quite a strong indication that there's something wrong in reading the structure.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@sbliven
sbliven merged commit 715fce4 into biojava:master Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants