systemPicard: Calls the Picard executable

Description Usage Arguments Author(s) Examples

Description

Calls the Picard executable.

Usage

1
2
## Default S3 method:
systemPicard(command, ..., verbose=FALSE)

Arguments

command

A character string specifying the Picard command (the name of the jar file without the *.jar extension).

...

Additional arguments specifying Picard command line switches.

verbose

See Verbose.

Author(s)

Henrik Bengtsson

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
  pathnameBAM <- "bwaData/LambdaVirusExample,bwa,is/Lambda_phage/reads_1.bam"
  res <- systemPicard("ValidateSamFile", INPUT=pathnameBAM, stderr=FALSE)
  ## ERROR: Read groups is empty
  print(res)
  ## [1] 1

  res <- systemPicard("ValidateSamFile", INPUT=pathnameBAM,
                      IGNORE="MISSING_READ_GROUP", stderr=FALSE)
  ## "No errors found"
  print(res)
  ## [1] 0

## End(Not run)

HenrikBengtsson/aroma.seq documentation built on Feb. 15, 2021, 2:21 a.m.