pandora-config.example.toml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. # Pandora configuration template
  2. #######################################
  3. # General filesystem layout / I/O
  4. #######################################
  5. # Directory where POD / run description files are located.
  6. pod_dir = "/data/run_data"
  7. # Root directory where all results will be written.
  8. result_dir = "/mnt/beegfs02/scratch/t_steimle/data/wgs"
  9. # Temporary directory.
  10. tmp_dir = "/mnt/beegfs02/scratch/t_steimle/tmp"
  11. # Singularity bin
  12. singularity_bin = "module load singularity-ce && singularity"
  13. # Temporary directory used when unarchiving input data.
  14. unarchive_tmp_dir = "/data/unarchived"
  15. # Maximum memory available for dockerized tools, in GiB.
  16. docker_max_memory_go = 400
  17. # Path to the SQLite database of processed cases.
  18. db_cases_path = "/data/cases.sqlite"
  19. # Path to the conda activation script.
  20. conda_sh = "/data/miniconda3/etc/profile.d/conda.sh"
  21. #######################################
  22. # Reference genome & annotations
  23. #######################################
  24. # Reference FASTA used throughout the pipeline.
  25. reference = "/home/t_steimle/ref/hs1/chm13v2.0.fa"
  26. # Short reference name used in filenames.
  27. reference_name = "hs1"
  28. # Pseudoautosomal regions (PARs) BED file.
  29. pseudoautosomal_regions_bed = "/home/t_steimle/ref/hs1/chm13v2.0_PAR.bed"
  30. # Sequence dictionary (.dict) for the reference.
  31. dict_file = "/data/ref/hs1/chm13v2.0.dict"
  32. # RefSeq GFF3 annotation (sorted/indexed).
  33. refseq_gff = "/data/ref/hs1/chm13v2.0_RefSeq_Liftoff_v5.1_sorted.gff3.gz"
  34. # Template for mask BED file (low-quality / filtered regions).
  35. # {result_dir} -> global result directory
  36. # {id} -> case identifier
  37. mask_bed = "{result_dir}/{id}/diag/mask.bed"
  38. # BED file with early-replicating regions.
  39. early_bed = "/data/ref/hs1/replication_early_25_hs1.bed"
  40. # BED file with late-replicating regions.
  41. late_bed = "/data/ref/hs1/replication_late_75_hs1.bed"
  42. # BED file with CpG coordinates.
  43. cpg_bed = "/data/ref/hs1/hs1/hs1_CpG.bed"
  44. # Panels of interest: [ [name, bed_path], ... ]
  45. panels = [
  46. ["OncoT", "/data/ref/hs1/V1_V2_V3_V4_V5_intersect_targets_hs1_uniq.bed"],
  47. ["variable_chips","/data/ref/hs1/top_1500_sd_pos.bed"],
  48. ]
  49. #######################################
  50. # Sample naming / BAM handling
  51. #######################################
  52. # Tumor sample label (used in paths & filenames).
  53. tumoral_name = "diag"
  54. # Normal sample label.
  55. normal_name = "norm"
  56. # BAM tag name used for haplotagged reads.
  57. haplotagged_bam_tag_name = "HP"
  58. # Minimum MAPQ for reads kept during BAM filtering.
  59. bam_min_mapq = 40
  60. # Threads for BAM-level operations (view/sort/index…).
  61. bam_n_threads = 150
  62. # Number of reads sampled for BAM composition estimation.
  63. bam_composition_sample_size = 20000
  64. #######################################
  65. # Coverage counting / somatic-scan
  66. #######################################
  67. # Name of directory (under each sample dir) where counts are stored.
  68. count_dir_name = "counts"
  69. # Bin size (bp) for count files.
  70. count_bin_size = 1000
  71. # Number of chunks used to split contigs for counting.
  72. count_n_chunks = 1000
  73. # Force recomputation of counting even if outputs exist.
  74. somatic_scan_force = false
  75. #######################################
  76. # Somatic pipeline global settings
  77. #######################################
  78. # Force recomputation of the entire somatic pipeline.
  79. somatic_pipe_force = true
  80. # Default thread count for heavy tools.
  81. somatic_pipe_threads = 150
  82. # Template for somatic pipeline statistics directory.
  83. # {result_dir}, {id}
  84. somatic_pipe_stats = "{result_dir}/{id}/diag/somatic_pipe_stats"
  85. #######################################
  86. # Filtering / QC thresholds
  87. #######################################
  88. # Minimum depth in constitutional sample to consider site evaluable.
  89. somatic_min_constit_depth = 5
  90. # Maximum allowed ALT count in constitutional sample for a somatic call.
  91. somatic_max_alt_constit = 1
  92. # Window size (bp) for sequence entropy around variants.
  93. entropy_seq_len = 10
  94. # Minimum Shannon entropy threshold.
  95. min_shannon_entropy = 1.0
  96. # Max depth considered "low quality".
  97. max_depth_low_quality = 20
  98. # Min depth considered "high quality".
  99. min_high_quality_depth = 14
  100. # Minimum number of callers required to keep a variant.
  101. min_n_callers = 1
  102. #######################################
  103. # DeepVariant configuration
  104. #######################################
  105. # DeepVariant output directory template.
  106. # {result_dir}, {id}, {time}
  107. deepvariant_output_dir = "{result_dir}/{id}/{time}/DeepVariant"
  108. # Threads for DeepVariant.
  109. deepvariant_threads = 40
  110. # DeepVariant singularity image path
  111. deepvariant_image = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/deepvariant_latest-gpu.sif"
  112. # DeepVariant version / image tag.
  113. deepvariant_bin_version = "1.9.0"
  114. # DeepVariant model type (e.g. ONT_R104).
  115. deepvariant_model_type = "ONT_R104"
  116. # Force DeepVariant recomputation.
  117. deepvariant_force = false
  118. #######################################
  119. # DeepSomatic configuration
  120. #######################################
  121. # DeepSomatic output directory template.
  122. # {result_dir}, {id}, {time}
  123. deepsomatic_output_dir = "{result_dir}/{id}/{time}/DeepSomatic"
  124. # Threads for DeepSomatic.
  125. deepsomatic_threads = 40
  126. # DeepSomatic version / image tag.
  127. deepsomatic_bin_version = "1.9.0"
  128. # DeepSomatic model type.
  129. deepsomatic_model_type = "ONT_R104"
  130. # Force DeepSomatic recomputation.
  131. deepsomatic_force = false
  132. #######################################
  133. # ClairS configuration
  134. #######################################
  135. # Threads for ClairS.
  136. clairs_threads = 40
  137. # ClairS docker tag.
  138. clairs_image = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/clairs_latest.sif"
  139. # Force ClairS recomputation.
  140. clairs_force = false
  141. # Platform preset for ClairS.
  142. clairs_platform = "ont_r10_dorado_sup_5khz_ssrs"
  143. # ClairS output directory template.
  144. # {result_dir}, {id}
  145. clairs_output_dir = "{result_dir}/{id}/diag/ClairS"
  146. #######################################
  147. # Savana configuration
  148. #######################################
  149. # Savana binary (name or full path).
  150. savana_bin = "savana"
  151. # Threads for Savana.
  152. savana_threads = 150
  153. # Savana output directory template.
  154. # {result_dir}, {id}
  155. savana_output_dir = "{result_dir}/{id}/diag/savana"
  156. # Savana copy-number output file.
  157. # {output_dir}, {id}, {reference_name}, {haplotagged_bam_tag_name}
  158. savana_copy_number = "{output_dir}/{id}_diag_{reference_name}_{haplotagged_bam_tag_name}_segmented_absolute_copy_number.tsv"
  159. # Savana raw read counts file.
  160. savana_read_counts = "{output_dir}/{id}_diag_{reference_name}_{haplotagged_bam_tag_name}_raw_read_counts.tsv"
  161. # Savana passed VCF.
  162. savana_passed_vcf = "{output_dir}/{id}_diag_savana_PASSED.vcf.gz"
  163. # Force Savana recomputation.
  164. savana_force = false
  165. # Constitutional phased VCF template.
  166. # {result_dir}, {id}
  167. germline_phased_vcf = "{result_dir}/{id}/diag/{id}_variants_constit_phased.vcf.gz"
  168. #######################################
  169. # Severus configuration
  170. #######################################
  171. # Path to Severus script.
  172. severus_bin = "/data/tools/MySeverus/severus.py"
  173. # Force Severus recomputation.
  174. severus_force = false
  175. # Threads for Severus.
  176. severus_threads = 32
  177. # VNTRs BED for Severus.
  178. vntrs_bed = "/data/ref/hs1/vntrs_chm13.bed"
  179. # Path of the Severus panel of normals.
  180. severus_pon = "/data/ref/hs1/PoN_1000G_chm13.tsv.gz"
  181. # Paired Severus output directory.
  182. # {result_dir}, {id}
  183. severus_output_dir = "{result_dir}/{id}/diag/severus"
  184. # Solo Severus output directory.
  185. # {result_dir}, {id}, {time}
  186. severus_solo_output_dir = "{result_dir}/{id}/{time}/severus"
  187. #######################################
  188. # Bcftools configuration
  189. #######################################
  190. # Path to longphase binary.
  191. bcftools_bin = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/bcftools"
  192. # Threads for longphase.
  193. bcftools_threads = 30
  194. #######################################
  195. # Longphase configuration
  196. #######################################
  197. # Path to longphase binary.
  198. longphase_bin = "/data/tools/longphase_linux-x64"
  199. # Threads for longphase.
  200. longphase_threads = 150
  201. # Threads for longphase modcall step.
  202. longphase_modcall_threads = 8
  203. # Longphase modcall VCF template.
  204. # {result_dir}, {id}, {time}
  205. longphase_modcall_vcf = "{result_dir}/{id}/{time}/5mC_5hmC/{id}_{time}_5mC_5hmC_modcall.vcf.gz"
  206. #######################################
  207. # Modkit configuration
  208. #######################################
  209. # Path to modkit binary.
  210. modkit_bin = "modkit"
  211. # Threads for `modkit summary`.
  212. modkit_summary_threads = 50
  213. # Modkit summary file template.
  214. # {result_dir}, {id}, {time}
  215. modkit_summary_file = "{result_dir}/{id}/{time}/{id}_{time}_5mC_5hmC_summary.txt"
  216. #######################################
  217. # Nanomonsv configuration
  218. #######################################
  219. # Path to nanomonsv binary.
  220. nanomonsv_bin = "/home/prom/.local/bin/nanomonsv"
  221. # Paired nanomonsv output directory template.
  222. # {result_dir}, {id}, {time}
  223. nanomonsv_output_dir = "{result_dir}/{id}/{time}/nanomonsv"
  224. # Force nanomonsv recomputation.
  225. nanomonsv_force = false
  226. # Threads for nanomonsv.
  227. nanomonsv_threads = 150
  228. # Paired nanomonsv PASSED VCF template.
  229. # {output_dir}, {id}
  230. nanomonsv_passed_vcf = "{output_dir}/{id}_diag_nanomonsv_PASSED.vcf.gz"
  231. # Solo nanomonsv output directory template.
  232. # {result_dir}, {id}, {time}
  233. nanomonsv_solo_output_dir = "{result_dir}/{id}/{time}/nanomonsv-solo"
  234. # Solo nanomonsv PASSED VCF template.
  235. # {output_dir}, {id}, {time}
  236. nanomonsv_solo_passed_vcf = "{output_dir}/{id}_{time}_nanomonsv-solo_PASSED.vcf.gz"
  237. #######################################
  238. # PromethION metadata
  239. #######################################
  240. # Directory containing PromethION run metadata.
  241. promethion_runs_metadata_dir = "/data/promethion-runs-metadata"
  242. # JSON file mapping flowcell IDs / runs for Pandora.
  243. promethion_runs_input = "/data/pandora-flowcell-id.json"
  244. #######################################
  245. # Alignment / basecalling (Dorado)
  246. #######################################
  247. [align]
  248. # Path to Dorado binary.
  249. dorado_bin = "/mnt/beegfs02/scratch/t_steimle/tools/dorado-latest-linux-x64/bin/dorado"
  250. # Dorado basecalling arguments (device, model, modifications…).
  251. dorado_basecall_arg = "-x 'cuda:all' sup,5mC_5hmC"
  252. # Should dorado re-align after demux ?
  253. dorado_should_realign = false
  254. # Dorado aligner threads number
  255. dorado_aligner_threads = 20
  256. # Reference FASTA used for alignment.
  257. ref_fa = "/mnt/beegfs02/scratch/t_steimle/ref/hs1/chm13v2.0.fa"
  258. # Minimap2 index used for alignment.
  259. ref_mmi = ""
  260. # Samtools bin
  261. samtools_bin = "/mnt/beegfs02/scratch/t_steimle/tools/samtools"
  262. # Threads for `samtools view`.
  263. samtools_view_threads = 40
  264. # Threads for `samtools sort`.
  265. samtools_sort_threads = 40
  266. # Threads for `samtools merge`.
  267. samtools_merge_threads = 40
  268. # Threads for `samtools split`.
  269. samtools_split_threads = 40