Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	DESCRIPTION
#	R/hiReadsProcessor.R
  • Loading branch information
Nirav Malani committed Sep 12, 2017
2 parents 6649444 + b0c9d81 commit 45f158f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
Package: hiReadsProcessor
Title: Functions to process LM-PCR reads from 454/Illumina data
<<<<<<< HEAD
Version: 1.13.0
Date: 2016-05-05
=======
Version: 1.3.0
Date: 2015-04-02
>>>>>>> origin/master
Author: Nirav V Malani <[email protected]>
Maintainer: Nirav V Malani <[email protected]>
Description: hiReadsProcessor contains set of functions which allow
Expand Down
4 changes: 4 additions & 0 deletions R/hiReadsProcessor.R
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,11 @@ replicateReads <- function(dnaSet, counts = NULL) {
if(is.null(names(dnaSet))) {
stop("No names attribute found in dnaSet object")
}
<<<<<<< HEAD
counts <- as.numeric(sub(".+counts=(\\d+)", "\\1", names(dnaSet)))
=======
counts <- as.numeric(sub(".+counts=(\\d+).*","\\1", names(dnaSet)))
>>>>>>> origin/master
if(all(is.na(counts))) {
warning("No counts=\\d+ marker found at the end of definition line or ",
"names attribute in dnaSet object. Defaulting to count=1")
Expand Down

0 comments on commit 45f158f

Please sign in to comment.