Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jervenbolleman/rs-handlegraph-ffi
Make rs-handlegraph available for use in other languages by generating C header file and a simple lib
https://github.com/jervenbolleman/rs-handlegraph-ffi
biohackeu20 bioinformatics dna handlegraph variationgraphs
Last synced: 19 days ago
JSON representation
Make rs-handlegraph available for use in other languages by generating C header file and a simple lib
- Host: GitHub
- URL: https://github.com/jervenbolleman/rs-handlegraph-ffi
- Owner: JervenBolleman
- License: mit
- Created: 2020-11-11T11:37:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-14T20:02:20.000Z (about 4 years ago)
- Last Synced: 2024-05-18T07:42:15.404Z (8 months ago)
- Topics: biohackeu20, bioinformatics, dna, handlegraph, variationgraphs
- Language: Rust
- Homepage:
- Size: 38.1 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rs-handlegraph-ffi
Make it easy to access rs-handlegraph implementations in an other language.
# java
Uses early access build of project panama e.g.
```
~/bin/jdk-16/bin/java \
-Dforeign.restricted=permit \
--add-modules jdk.incubator.foreign \
src/main/java/swiss/sib/swissprot/libhandlegraph-panama.java
```
```
jextract \
-l rs_handlegraph_ffi \
-d target/java_classes \
-t rs.handlegraph \
libhandlegraph-ffi-c.h
``````
jar cvf rs-handlegraph.jar -C target/java_classes/ .
```
# install into local mvnmvn install:install-file -DgroupId=rs.handlegraph -DartifactId=jextract -Dpackaging=jar -Dversion=0.0.1 -Dfile=rs-handlegraph.jar