Skip to content

Commit

Permalink
Merge pull request GavinHaLab#6 from GavinHaLab/exon_bed
Browse files Browse the repository at this point in the history
use fread instead of read.delim
  • Loading branch information
mjko1210 authored Jul 2, 2021
2 parents 534589c + f8c17ad commit 7c4b9df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/runIchorCNA.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ library(GenomicRanges)
library(GenomeInfoDb)
library(foreach)
library(doMC)
library(data.table)
options(stringsAsFactors=FALSE, bitmapType='cairo')

patientID <- opt$id
Expand Down Expand Up @@ -152,7 +153,7 @@ if (substr(tumour_file,nchar(tumour_file)-2,nchar(tumour_file)) == "wig") {
if (is.null(exons.bed) || exons.bed == "None" || exons.bed == "NULL"){
targetedSequences <- NULL
}else{
targetedSequences <- read.delim(exons.bed, header=T, sep="\t")
targetedSequences <- fread(exons.bed)
}

## load PoN
Expand Down

0 comments on commit 7c4b9df

Please sign in to comment.