Skip to content

Commit

Permalink
added author; better missing input error
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikSchultheis committed Dec 19, 2018
1 parent 5a7c84e commit 97464ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/cdhit_wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ option_list <- list(
)

opt_parser <- OptionParser(option_list = option_list,
description = "CD-HIT-EST Wrapper function. See https://github.com/weizhongli/cdhit/wiki for more information regarding CD-HITs parameters.")
description = "CD-HIT-EST Wrapper function. See https://github.com/weizhongli/cdhit/wiki for more information regarding CD-HITs parameters.",
epilogue = "Author: Hendrik Schultheis <Hendrik.Schultheis@mpi-bn.mpg.de>")

opt <- parse_args(opt_parser)

Expand Down Expand Up @@ -76,7 +77,7 @@ cdhitest <- function(input, identity = 0.8, coverage = 8, output = "cluster.bed"
}

if (missing(input)) {
stop("Input parameter missing!")
stop("No input specified! Please forward a valid bed-file.")
}

message("Loading bed.")
Expand Down

0 comments on commit 97464ca

Please sign in to comment.