Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
added help message
Browse files Browse the repository at this point in the history
  • Loading branch information
afust committed Sep 5, 2017
1 parent 2b848e1 commit 4297c61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reformat_output.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## author afust
## reformat BestperQuery_Hits table to table with all information about one peak in one row
library(getopt)
library(getopt, quietly=TRUE)

## columns given with $3 should be unique and not be seprated by the delimiter
## with the aggregate function the same entries are sepereated by it, so this has to be adjusted
Expand All @@ -18,8 +18,8 @@ library(getopt)
# 2 optional parameter
options <- matrix(c(
'input', 'i', 1, 'character', 'file which should be reformatted',
'key', 'k', 1, 'character', 'key columns seperated by "," without spaces',
'cols', 'c', 1, 'character', 'columns that should be kept ',
'key', 'k', 1, 'character', 'key column',
'cols', 'c', 1, 'character', 'columns that should be kept, e.g 1,2,5 or 1:5',
'delimiter', 'd', 2, 'character', 'delimiter [,]',
'threads', 't', 2, 'integer', 'cores to be used for reformatting',
'help', 'h', 0, 'logical','Provides command line help.'
Expand Down

0 comments on commit 4297c61

Please sign in to comment.