diff --git a/docs/pipelines/shiva.md b/docs/pipelines/shiva.md index 9f3b0076fb056289f89bd7b59e2fa757680234c1..a92ed4ab3f90d4b2429e44aa99ee5f23b3d291fb 100644 --- a/docs/pipelines/shiva.md +++ b/docs/pipelines/shiva.md @@ -113,6 +113,8 @@ To view all possible config options please navigate to our Gitlab wiki page | shiva | use_analyze_covariates | Boolean | false | Analyze covariates during base recalibration step | | shiva | bam_to_fastq | Boolean | false | Convert bam files to fastq files | | shiva | correct_readgroups | Boolean | false | Attempt to correct read groups | +| shiva | amplicon_bed | Path | Path to target bed file | +| shiva | regions_of_interest | Array of paths | Array of paths to region of interest (e.g. gene panels) bed files | | vcffilter | min_sample_depth | Integer | 8 | Filter variants with at least x coverage | | vcffilter | min_alternate_depth | Integer | 2 | Filter variants with at least x depth on the alternate allele | | vcffilter | min_samples_pass | Integer | 1 | Minimum amount of samples which pass custom filter (requires additional flags) | diff --git a/public/bammetrics/src/main/scala/nl/lumc/sasc/biopet/pipelines/bammetrics/BammetricsReport.scala b/public/bammetrics/src/main/scala/nl/lumc/sasc/biopet/pipelines/bammetrics/BammetricsReport.scala index d12c307cb8b2e5c8213d3e444832880a230fe9f9..55095b4199db67a97e6bd344e24bd68bc087d11a 100644 --- a/public/bammetrics/src/main/scala/nl/lumc/sasc/biopet/pipelines/bammetrics/BammetricsReport.scala +++ b/public/bammetrics/src/main/scala/nl/lumc/sasc/biopet/pipelines/bammetrics/BammetricsReport.scala @@ -195,7 +195,7 @@ object BammetricsReport extends ReportBuilder { } } - var map: Map[Int, Map[String, Int]] = Map() + var map: Map[Int, Map[String, Long]] = Map() def fill(sample: String, lib: Option[String]): Unit = { @@ -208,7 +208,7 @@ object BammetricsReport extends ReportBuilder { case (l: List[_], l2: List[_]) => { l.zip(l2).foreach(i => { val insertSize = i._1.toString.toInt - val count = i._2.toString.toInt + val count = i._2.toString.toLong val old = map.getOrElse(insertSize, Map()) if (libraryLevel) map += insertSize -> (old + ((s"$sample-" + lib.get) -> count)) else map += insertSize -> (old + (sample -> count))