Menu

#558 Se.2 atom type missing

Needs_Review
wont-fix
cdk-1.4.x
5
2012-10-29
2012-10-28
Asad
No

The Se.2 atom type is defined in the CDKAtomTypeMatcher.java but its definition is missing in the ontology file cdk-atom-types.owl.

This patch fixes the missing atom type.

1 Attachments

Discussion

  • John May

    John May - 2012-10-28
    • milestone: Accepted --> Needs_Review
     
  • John May

    John May - 2012-10-28

    Need to change the default milestone

     
  • John May

    John May - 2012-10-28
    • milestone: Accepted --> Needs_Review
     
  • John May

    John May - 2012-10-28

    I think the actual matcher needs changing here... the Se.2 appears twice - once for 0 neighbours and once for 1 neighbour. This molecule perceives as Se.2: http://www.ebi.ac.uk/chebi/advancedSearchFT.do?searchString=32744&queryBean.stars=3&queryBean.stars=-1

    Which would make sense, 2=2 formal neighbours. This also matches other atom type schemes (Hg.2 = 2 neighbours etc.). I wonder if this would still be broken though as that molecule has an implicit hydrogen which the typer doesn't considered in this case...

     

    Last edit: John May 2012-10-28
  • Egon Willighagen

    John, I will take it from here...

    Gilleain's and my initial investigation showed a false negative, but then Steffen found a hit too...

    A full fix for this requires various unit tests... I will look at this one today.

    BTW, having 0 and 1 or even 2 neighbors makes perfect sense, because there may be missing hydrogens :)

     
  • Egon Willighagen

    • assigned_to: Egon Willighagen
     
  • Egon Willighagen

    This patch matches half of the patch of Gilleain, and is for a single selenium atom without any neighbors.

    I'll close it as a duplicate.

     
  • Egon Willighagen

    • labels: Atom-type --> Atom-type, duplicate
    • status: open --> wont-fix
     
  • Egon Willighagen

    Updated patches pending.

     

Log in to post a comment.

MongoDB Logo MongoDB