An open API service indexing awesome lists of open source software.

https://github.com/aplbrain/motif2cypher

A command-line executable to convert DotMotif syntax to Cypher (for use with Neo4j)
https://github.com/aplbrain/motif2cypher

Last synced: 12 months ago
JSON representation

A command-line executable to convert DotMotif syntax to Cypher (for use with Neo4j)

Awesome Lists containing this project

README

          

# motif2cypher

A command-line executable to convert [DotMotif](https://github.com/aplbrain/dotmotif) syntax to Cypher (for use with Neo4j)

## Usage

```shell
python3 motif2cypher.py < tri.motif
```

```shell
python3 motif2cypher.py -f tri.motif -o tri.cypher --neuprint
```

## Arguments

| Argument | Description |
| --------------- | ---------------------------------------------------------------------------------------------------- |
| `-f`,`--file` | The input (`*.motif`) file to read from. If this is not specified, the program will read from stdin. |
| `-o`,`--output` | The output file to write to. If this is not specified, the program will write to stdout. |
| `--neuprint` | If this is specified, the program will write the output using the neuPrint data schema. |