https://github.com/bblodfon/rsat-rest-java-clients
Java Clients for the Regulatory Sequence Analysis Tools (RSAT) REST API
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.6%) to scientific vocabulary
Keywords
Repository
Java Clients for the Regulatory Sequence Analysis Tools (RSAT) REST API
Basic Info
- Host: GitHub
- Owner: bblodfon
- Language: Java
- Default Branch: master
- Size: 22.5 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
rsat-rest-java-clients
This module is a Java Client for the Regulatory Sequence Analysis Tools (RSAT) RESTful API.
Currently, only one tool is supported with a Java Client, namely the
fetch-sequences tool. This tool is used to retrieve genome sequences for a
set of coordinates specified in a bed file (either from a resource URL through
the GET and POST methods or from a local .bed file through POST).
Install
Tested with maven version 3.6.0, compiled with Java 8
mvn clean install
Examples
- When using no arguments, you get the list of available parameters: ``` java -cp target/java.clients-1.0-jar-with-dependencies.jar clients.FetchSequencesClient
Options preceded by an asterisk are required. Usage: clients.FetchSequencesClient [options] Options: * --requestMethod, -m The HTTP request method: GET or POST --responseContentType, -c The response content type: json or text Default: json --genome, -g Genome version (e.g. mm9, hg19) Default: mm9 --header, -h Format for sequence headers: UCSC or galaxy Default: galaxy --resourceURL, -u URL file resource --resourceBedFile, -f File in .bed format ```
Using the
GETHTTP method to retrieve the sequences from a URL resource:java -cp target/java.clients-1.0-jar-with-dependencies.jar clients.FetchSequencesClient -m=GET -c=json -u=http://rsat-tagc.univ-mrs.fr/rsat/demo_files/fetch-sequences_Schmidt_2011_mm9_CEBPA_SWEMBL_R0.12_702peaks.bed -g=mm9 -h=galaxyUsing the
POSTHTTP method to retrieve the sequences from a URL resource:java -cp target/java.clients-1.0-jar-with-dependencies.jar clients.FetchSequencesClient -m=POST -c=text -u=http://rsat-tagc.univ-mrs.fr/rsat/demo_files/fetch-sequences_Schmidt_2011_mm9_CEBPA_SWEMBL_R0.12_702peaks.bed -g=mm9 -h=galaxyUsing the
POSTHTTP method to retrieve the sequences from a local .bed file resource:java -cp target/java.clients-1.0-jar-with-dependencies.jar clients.FetchSequencesClient -m=POST -c=json -f=src/main/resources/test.bed -g=mm9 -h=galaxy
Owner
- Name: John Zobolas
- Login: bblodfon
- Kind: user
- Repositories: 13
- Profile: https://github.com/bblodfon
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0