Skip to content

Commit

Permalink
Merge pull request #36 from 4dn-dcic/v0.3.7
Browse files Browse the repository at this point in the history
rebuilt package for 0.3.7
  • Loading branch information
SooLee authored Apr 12, 2019
2 parents 08dd7fd + 3995551 commit e083a66
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: Rpairix
Title: Rpairix
Version: 0.3.6
Version: 0.3.7
Authors@R: person("Soo", "Lee", email = "duplexa@gmail.com", role = c("aut", "cre"))
Description: R binder for pairix, tool for querying a pair of genomic ranges in a pairs file (pairix-indexed bgzipped text file)
Depends:
Expand All @@ -11,7 +11,6 @@ Imports:
License: MIT
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
RoxygenNote: 6.1.1
Suggests:
testthat

12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ R --no-site-file --no-environ --no-save --no-restore CMD INSTALL --install-tests
To install a specific version,
```r
library(devtools)
install_url("https://github.com/4dn-dcic/Rpairix/archive/0.3.6.zip")
install_url("https://github.com/4dn-dcic/Rpairix/archive/0.3.7.zip")
```


Expand Down Expand Up @@ -316,7 +316,12 @@ px_get_linecount(filename)
## For developers
When you modify the repo, rebuild the R package before your commit/push:
```
library(devtools)
# dependencies
install.packages("BiocManager")
BiocManager::install("GenomicRanges")
BiocManager::install("InteractionSet")
# build
library(devtools) # use 1.13.5 (2.0.2 does not work)
setwd("Rpairix")
document()
```
Expand All @@ -325,6 +330,9 @@ Individual R functions are written and documented in `R/`. The `src/rpairixlib.c
***

## Version history
### 0.3.7
* Fixed issue where autoflip causes segmentation fault or returns an empty result on some systems. This affects the `px_query()` function with the `autoflip=TRUE` option.

### 0.3.6
* Index structure is consistent with pairix/pypairix 0.3.6. This new structure resolves integer overflow issues for linecount. the older indices can be read and used otherwise. (backward-compatible)

Expand Down
2 changes: 1 addition & 1 deletion Rpairix.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version: 0.3.5
Version: 0.3.7

RestoreWorkspace: No
SaveWorkspace: No
Expand Down
7 changes: 4 additions & 3 deletions man/px_build_index.Rd

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

2 changes: 1 addition & 1 deletion src/pairix.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef __TABIDX_H
#define __TABIDX_H

#define PACKAGE_VERSION "0.3.6"
#define PACKAGE_VERSION "0.3.7"

#include <stdint.h>
#include "kstring.h"
Expand Down

0 comments on commit e083a66

Please sign in to comment.