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

Drug discovery and chemical representation #774

Merged
merged 11 commits into from
Jan 15, 2018

Conversation

agitter
Copy link
Collaborator

@agitter agitter commented Jan 13, 2018

Work in progress. Ref #689.

I plan to add a few new references on graph convolutions (without much discussion) to complement our new section on PPI graphs in #638. This also adds a reference to partially address the bioRxiv comment per #654.

@agitter agitter added the treat label Jan 13, 2018
@agitter agitter added this to the journal-revisions milestone Jan 13, 2018
@agitter
Copy link
Collaborator Author

agitter commented Jan 14, 2018

@dhimmel ef2b76c passed the build yesterday but failed today when I reran it to try to diagnose my more recent build failures.

Have you seen this error before:

Traceback (most recent call last):
  File "/home/travis/miniconda/envs/manubot/bin/pandoc-fignos", line 11, in <module>
    sys.exit(main())
  File "/home/travis/miniconda/envs/manubot/lib/python3.6/site-packages/pandoc_fignos.py", line 415, in main
    plusname, starname, 'figure')
TypeError: replace_refs_factory() missing 1 required positional argument: 'target'
Error running filter pandoc-fignos:
Filter returned error status 1

@agitter
Copy link
Collaborator Author

agitter commented Jan 14, 2018

This may need some additional work but is ready for feedback and review. I didn't go into detail about the new graph methods because the reviewer already thinks this section is too technical. I primarily sought to separate the representation learning section to break up the long ligand-based subsection and emphasize the graph-based methods. These were requested by the same reviewer and are interesting algorithms beyond the virtual screening domain.

I could cut some text if we'd like to shorten this.

This PR adds #555, #641, #741, #762, #773, and #776.

@agitter agitter changed the title [WIP] Drug discovery and chemical representation Drug discovery and chemical representation Jan 14, 2018
@dhimmel
Copy link
Collaborator

dhimmel commented Jan 14, 2018

Nothing stands out to me as problematic in this PR's diff.

@tomduck (creator of pandoc-fignos), any idea what this error could be caused by:

TypeError: replace_refs_factory() missing 1 required positional argument: 'target'
Error running filter pandoc-fignos:

We recently upgraded pandoc-fignos, pandoc-tablenos, and pandoc-egnos to v1.0 in 6c2020f. @agitter do you know whether the successful builds used the older version of pandoc-fignos?

@tomduck
Copy link

tomduck commented Jan 14, 2018

The API for pandoc-xnos was slightly changed. You need to update it as well.

@tomduck
Copy link

tomduck commented Jan 14, 2018

Actually, it looks like you may be using the new pandoc-xnos but an old pandoc-fignos. Can you upgrade both to the most recent version?

Note that I am in the process of preparing another release, which will go out within the next hour.

@dhimmel
Copy link
Collaborator

dhimmel commented Jan 14, 2018

Looks like our build used pandoc-eqnos==1.0.0, pandoc-fignos==1.0.0, pandoc-tablenos==1.0.0, and pandoc-xnos==0.15.

Actually, it looks like you may be using the new pandoc-xnos but an old pandoc-fignos. Can you upgrade both to the most recent version?

Will do soon, after the next release is out. I think the issue may be that we pinned fignos, egnos, and tablenos, but not xnos. Therefore, the error would have first occurred when a higher version pandoc-xnos started getting installed.

@tomduck
Copy link

tomduck commented Jan 14, 2018

Yes, that makes sense @dhimmel. Is there something I should be doing on my end to prevent such a problem in the future?

@dhimmel
Copy link
Collaborator

dhimmel commented Jan 14, 2018

As per here, I think you could specify something like pandoc-xnos>=0.13,<0.15, in setup.py of pandoc-fignos. However, I'm not sure how you would know, when making pandoc-fignos==1.0 that it would stop working at pandoc-xnos==0.15, which presumably hadn't been released yet.

@tomduck
Copy link

tomduck commented Jan 14, 2018

Yes, that is exactly the problem. I will think on it and come up with a solution.

@cgreene cgreene self-requested a review January 14, 2018 17:15
Copy link
Member

@cgreene cgreene left a comment

Choose a reason for hiding this comment

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

This looks good to me - just one suggested change. Marking approve so that you feel free to merge after that minor edit.

@@ -165,7 +168,7 @@ When protein structure is available, virtual screening has traditionally relied
Recently, deep learning approaches have been developed to model protein structure, which is expected to improve upon the simpler drug-target interaction algorithms described above that represent proteins with feature vectors derived from amino acid sequences [@doi:10.1109/BIBM.2014.6999129; @doi:10.1021/acs.jproteome.6b00618].

Structure-based deep learning methods differ in whether they use experimentally-derived or predicted ligand-target complexes and how they represent the 3D structure.
The Atomic CNN [@arxiv:1703.10603] takes 3D crystal structures from PDBBind [@doi:10.1021/jm048957q] as input, ensuring it uses a reliable ligand-target complex.
The Atomic CNN [@arxiv:1703.10603] and TopologyNet [@doi:10.1371/journal.pcbi.1005690] take 3D structures from PDBBind [@doi:10.1021/jm048957q] as input, ensuring the ligand-target complexes are reliable.
Copy link
Member

Choose a reason for hiding this comment

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

I think you need to either remove The or add networks or models.

dhimmel added a commit to dhimmel/manubot-rootstock that referenced this pull request Jan 14, 2018
Pinning pandoc-eqnos, pandoc-fignos, and pandoc-tablenos, but
allowing them to trigger the installation of the latest pandoc-xnos
version (which is a dependency) caused issues. See
greenelab/deep-review#774 (comment)
dhimmel added a commit to manubot/rootstock that referenced this pull request Jan 14, 2018
Pinning pandoc-eqnos, pandoc-fignos, and pandoc-tablenos, but
allowing them to trigger the installation of the latest pandoc-xnos
version (which is a dependency) caused issues. See
greenelab/deep-review#774 (comment)
dhimmel added a commit to manubot/rootstock that referenced this pull request Jan 14, 2018
This build is based on
a673a3e.

This commit was created by the following Travis CI build and job:
https://travis-ci.org/greenelab/manubot-rootstock/builds/328806731
https://travis-ci.org/greenelab/manubot-rootstock/jobs/328806732

[ci skip]

The full commit message that triggered this build is copied below:

environment: explicitly set pandoc-xnos version (#99)

Pinning pandoc-eqnos, pandoc-fignos, and pandoc-tablenos, but
allowing them to trigger the installation of the latest pandoc-xnos
version (which is a dependency) caused issues. See
greenelab/deep-review#774 (comment)
dhimmel added a commit to manubot/rootstock that referenced this pull request Jan 14, 2018
This build is based on
a673a3e.

This commit was created by the following Travis CI build and job:
https://travis-ci.org/greenelab/manubot-rootstock/builds/328806731
https://travis-ci.org/greenelab/manubot-rootstock/jobs/328806732

[ci skip]

The full commit message that triggered this build is copied below:

environment: explicitly set pandoc-xnos version (#99)

Pinning pandoc-eqnos, pandoc-fignos, and pandoc-tablenos, but
allowing them to trigger the installation of the latest pandoc-xnos
version (which is a dependency) caused issues. See
greenelab/deep-review#774 (comment)
@agitter
Copy link
Collaborator Author

agitter commented Jan 14, 2018

do you know whether the successful builds used the older version of pandoc-fignos

@dhimmel I didn't explicitly change anything in our environment between when the build passed and failed. However, our last successful build on master did use pandoc-xnos version 0.14.

It looks like we have a root cause now and can merge this once we pull in manubot/rootstock#99 Thanks for the help @tomduck.

@dhimmel
Copy link
Collaborator

dhimmel commented Jan 14, 2018

@agitter, I just merged #778 so you should be good to go.

@agitter agitter merged commit e10f48f into greenelab:master Jan 15, 2018
@agitter agitter deleted the drug-discovery branch January 15, 2018 15:27
dhimmel pushed a commit that referenced this pull request Jan 15, 2018
This build is based on
e10f48f.

This commit was created by the following Travis CI build and job:
https://travis-ci.org/greenelab/deep-review/builds/329103733
https://travis-ci.org/greenelab/deep-review/jobs/329103734

[ci skip]

The full commit message that triggered this build is copied below:

Drug discovery and chemical representation (#774)

* GAN already defined

* Address bioRxiv comment

* New chemical representation subsection

* New ROC reference, MoleculeNet includes PR now

* Add WIP references to check build

* Consistently apply existing tags

* Tag typo

* Reorganize chemical features and graphs

* Add graph convolution and Mol2vec

* Rephrasing

* Rephrase per cgreene suggestion
dhimmel pushed a commit that referenced this pull request Jan 15, 2018
This build is based on
e10f48f.

This commit was created by the following Travis CI build and job:
https://travis-ci.org/greenelab/deep-review/builds/329103733
https://travis-ci.org/greenelab/deep-review/jobs/329103734

[ci skip]

The full commit message that triggered this build is copied below:

Drug discovery and chemical representation (#774)

* GAN already defined

* Address bioRxiv comment

* New chemical representation subsection

* New ROC reference, MoleculeNet includes PR now

* Add WIP references to check build

* Consistently apply existing tags

* Tag typo

* Reorganize chemical features and graphs

* Add graph convolution and Mol2vec

* Rephrasing

* Rephrase per cgreene suggestion
adebali pushed a commit to CompGenomeLab/lemur-manuscript-archive that referenced this pull request Mar 4, 2020
Pinning pandoc-eqnos, pandoc-fignos, and pandoc-tablenos, but
allowing them to trigger the installation of the latest pandoc-xnos
version (which is a dependency) caused issues. See
greenelab/deep-review#774 (comment)
ploegieku added a commit to ploegieku/2023-functional-homology-paper that referenced this pull request Aug 6, 2024
Pinning pandoc-eqnos, pandoc-fignos, and pandoc-tablenos, but
allowing them to trigger the installation of the latest pandoc-xnos
version (which is a dependency) caused issues. See
greenelab/deep-review#774 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants