Skip to content

Commit

Permalink
v0.3.2 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt authored Dec 1, 2024
1 parent c94bbab commit d99326b
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 8 deletions.
2 changes: 1 addition & 1 deletion oxbow/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion oxbow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxbow"
version = "0.3.1"
version = "0.3.2"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "../README.md"
Expand Down
4 changes: 2 additions & 2 deletions py-oxbow/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion py-oxbow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "py-oxbow"
version = "0.3.1"
version = "0.3.2"
edition = "2021"
license = "MIT OR Apache-2.0"

Expand Down
5 changes: 3 additions & 2 deletions r-oxbow/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ Description:
License: MIT OR Apache-2.0
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Config/rextendr/version: 0.3.1.9000
RoxygenNote: 7.3.2
Config/rextendr/version: 0.3.1.9001
SystemRequirements: Cargo (Rust's package manager), rustc
5 changes: 5 additions & 0 deletions r-oxbow/NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Generated by roxygen2: do not edit by hand

export(read_bam)
export(read_bam_vpos)
export(read_bcf)
export(read_bcf_vpos)
export(read_fasta)
export(read_fastq)
export(read_vcf)
export(read_vcf_vpos)
useDynLib(oxbow, .registration = TRUE)
20 changes: 20 additions & 0 deletions r-oxbow/R/extendr-wrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,37 @@
#' @useDynLib oxbow, .registration = TRUE
NULL

#' Return Arrow IPC format from a FASTA file.
#' @export
read_fasta <- function(path, region) .Call(wrap__read_fasta, path, region)

#' Return Arrow IPC format from a FASTQ file.
#' @export
read_fastq <- function(path) .Call(wrap__read_fastq, path)

#' Return Arrow IPC format from a BAM file.
#' @export
read_bam <- function(path, region) .Call(wrap__read_bam, path, region)

#' Return Arrow IPC format from a BAM file.
#' @export
read_bam_vpos <- function(path, cpos_lo, upos_lo, cpos_hi, upos_hi) .Call(wrap__read_bam_vpos, path, cpos_lo, upos_lo, cpos_hi, upos_hi)

#' Return Arrow IPC format from a VCF file.
#' @export
read_vcf <- function(path, region) .Call(wrap__read_vcf, path, region)

#' Return Arrow IPC format from a VCF file.
#' @export
read_vcf_vpos <- function(path, cpos_lo, upos_lo, cpos_hi, upos_hi) .Call(wrap__read_vcf_vpos, path, cpos_lo, upos_lo, cpos_hi, upos_hi)

#' Return Arrow IPC format from a BCF file.
#' @export
read_bcf <- function(path, region) .Call(wrap__read_bcf, path, region)

#' Return Arrow IPC format from a BCF file.
#' @export
read_bcf_vpos <- function(path, cpos_lo, upos_lo, cpos_hi, upos_hi) .Call(wrap__read_bcf_vpos, path, cpos_lo, upos_lo, cpos_hi, upos_hi)


# nolint end
2 changes: 1 addition & 1 deletion r-oxbow/src/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d99326b

Please sign in to comment.