Comments (4)
It's a legacy text format that should probably be removed.
Looks like it came from when the environment fingerprint table grew to include links from r+1 to r. It shows me no one uses that format.
Could you try using https://github.com/adalke/mmpdb/tree/v3-dev ? That's the latest dev version, mostly waiting for feedback before final release.
The current version of that section is:
def add_environment_fingerprint(self, fp_idx, smarts, pseudosmiles, parent_smarts):
if parent_smarts is None:
parent_smarts = ""
self._W("FINGERPRINT\t%d\t%s\t%s\t%s\n" % (fp_idx, smarts, pseudosmiles, parent_smarts))
from mmpdb.
That works, but with the new version --out csv doesn't work (which I do need).
File "/home/export/noel.oboyle/Tools/conda/miniconda3/envs/mmpdb-test/lib/python3.9/site-packages/mmpdblib/index_writers.py", line 1174, in open
return self.opener(destination, compression,
File "/home/export/noel.oboyle/Tools/conda/miniconda3/envs/mmpdb-test/lib/python3.9/site-packages/mmpdblib/index_writers.py", line 849, in _open_csv
outfile = _open_output(destination, compressionf)
NameError: name 'compressionf' is not defined
from mmpdb.
Okay, fixed the typo. Seems to work.
You might also be interested in the "csvd" output format, which saves all of the tables to separate CSV files in a named directory, along with drivers to import the data into SQLite and Postgres. ("csvd" = "csv directory")
from mmpdb.
Works for me now. I note that cvsd is not (yet?) documented under "mmpdb index --help". Sounds interesting, but not for me right now.
from mmpdb.
Related Issues (20)
- How to get environment smiles? HOT 3
- How to build mmpdb with large data set HOT 4
- cannot fix the AttributeError: module '__main__' has no attribute '__spec__' HOT 2
- store fragments in a SQLite db instead of JSON-Lines HOT 2
- Use SQLAlchemy to work with the database HOT 1
- organize command-line processing and move to click HOT 4
- Remove vendered use of peewee HOT 1
- Use importlib.resources instead of __file__ HOT 1
- Can we specify the environmental radius when generating the mmpdb? HOT 11
- Which "cut-smarts" patterns (i.e. fragmentation parameters) are used by default for Transform function? HOT 1
- mmpdb transform behaves unexpectedly HOT 5
- [docs] README.md: create installation guide HOT 5
- AttributeError: module '__main__' has no attribute '__spec__'
- Support for CXSMILES HOT 4
- Obtain list of matched pairs with common core from an ID. HOT 4
- Automatically get MMPs for a given data set HOT 4
- Turning on --property flag leading to a smaller number of transformed structures
- Unexpected generated molecule with double cuts MMPDB HOT 4
- Possible SQL injection vulnerability HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmpdb.