pandora-config.example.toml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. # Pandora configuration template
  2. #######################################
  3. # General filesystem layout / I/O
  4. #######################################
  5. # Root directory where all results will be written.
  6. result_dir = "/mnt/beegfs02/scratch/t_steimle/data/wgs"
  7. # Temporary directory.
  8. tmp_dir = "/mnt/beegfs02/scratch/t_steimle/tmp"
  9. # Should use Slurm as runner
  10. slurm_runner = true
  11. # Run cache directory.
  12. run_cache_dir = "/home/t_steimle/data/prom_runs"
  13. # Software threads
  14. threads = 5
  15. # Singularity bin
  16. singularity_bin = "module load singularity-ce && singularity"
  17. # Path to the conda activation script.
  18. conda_sh = "/mnt/beegfs02/software/recherche/miniconda/25.1.1/etc/profile.d/conda.sh"
  19. #######################################
  20. # Reference genome & annotations
  21. #######################################
  22. # Reference FASTA used throughout the pipeline.
  23. reference = "/home/t_steimle/ref/hs1/chm13v2.0.fa"
  24. # Short reference name used in filenames.
  25. reference_name = "hs1"
  26. # Pseudoautosomal regions (PARs) BED file.
  27. pseudoautosomal_regions_bed = "/home/t_steimle/ref/hs1/chm13v2.0_PAR.bed"
  28. # Sequence dictionary (.dict) for the reference.
  29. dict_file = "/home/t_steimle/ref/hs1/chm13v2.0.dict"
  30. # RefSeq GFF3 annotation (sorted/indexed).
  31. refseq_gff = "/home/t_steimle/ref/hs1/chm13v2.0_RefSeq_Liftoff_v5.1_sorted.gff3.gz"
  32. # Template for mask BED file (low-quality / filtered regions).
  33. # {result_dir} -> global result directory
  34. # {id} -> case identifier
  35. mask_bed = "{result_dir}/{id}/diag/mask.bed"
  36. # Panels of interest: [ [name, bed_path], ... ]
  37. panels = [
  38. ["Cytoband", "/home/t_steimle/ref/hs1/chm13v2.0_cytobands_allchrs.bed"],
  39. ["PanelCM", "/home/t_steimle/ref/hs1/panel_cm_hs1.bed"],
  40. ]
  41. repeats_bed = "/home/t_steimle/ref/hs1/all_repeats_chm13_final.bed"
  42. #######################################
  43. # Sample naming / BAM handling
  44. #######################################
  45. # Tumor sample label (used in paths & filenames).
  46. tumoral_name = "diag"
  47. # Normal sample label.
  48. normal_name = "norm"
  49. # BAM tag name used for haplotagged reads.
  50. haplotagged_bam_tag_name = "HP"
  51. # Minimum MAPQ for reads kept during BAM filtering.
  52. bam_min_mapq = 40
  53. # Number of threads for hts BAM reader decrompression (should be adapted to IO speed).
  54. bam_n_threads = 4
  55. # Number of reads sampled for BAM composition estimation.
  56. bam_composition_sample_size = 20000
  57. #######################################
  58. # Coverage counting / somatic-scan
  59. #######################################
  60. # Name of directory (under each sample dir) where counts are stored.
  61. count_dir_name = "counts"
  62. # Bin size (bp) for count files.
  63. count_bin_size = 1000
  64. # Number of chunks used to split contigs for counting.
  65. count_n_chunks = 1000
  66. # Force recomputation of counting even if outputs exist.
  67. somatic_scan_force = false
  68. #######################################
  69. # Somatic pipeline global settings
  70. #######################################
  71. # Force recomputation of the entire somatic pipeline.
  72. somatic_pipe_force = true
  73. # Default thread count for heavy tools.
  74. somatic_pipe_threads = 150
  75. # Template for somatic pipeline statistics directory.
  76. # {result_dir}, {id}
  77. somatic_pipe_stats = "{result_dir}/{id}/diag/somatic_pipe_stats"
  78. #######################################
  79. # Filtering / QC thresholds
  80. #######################################
  81. # Minimum depth in constitutional sample to consider site evaluable.
  82. somatic_min_constit_depth = 5
  83. # Maximum allowed ALT count in constitutional sample for a somatic call.
  84. somatic_max_alt_constit = 1
  85. # Window size (bp) for sequence entropy around variants.
  86. entropy_seq_len = 10
  87. # Minimum Shannon entropy threshold.
  88. min_shannon_entropy = 1.0
  89. # Max depth considered "low quality".
  90. max_depth_low_quality = 20
  91. # Min depth considered "high quality".
  92. min_high_quality_depth = 14
  93. # Minimum number of callers required to keep a variant.
  94. min_n_callers = 1
  95. #######################################
  96. # DeepVariant configuration
  97. #######################################
  98. # DeepVariant output directory template.
  99. # {result_dir}, {id}, {time}
  100. deepvariant_output_dir = "{result_dir}/{id}/{time}/DeepVariant"
  101. # Threads for DeepVariant.
  102. deepvariant_threads = 20
  103. # DeepVariant singularity image path
  104. deepvariant_image = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/deepvariant_latest.sif"
  105. # DeepVariant model type (e.g. ONT).
  106. deepvariant_model_type = "ONT_R104"
  107. # Force DeepVariant recomputation.
  108. deepvariant_force = false
  109. #######################################
  110. # DeepSomatic configuration
  111. #######################################
  112. # DeepSomatic output directory template.
  113. # {result_dir}, {id}, {time}
  114. deepsomatic_output_dir = "{result_dir}/{id}/{time}/DeepSomatic"
  115. # Threads for DeepSomatic.
  116. deepsomatic_threads = 20
  117. # DeepVariant singularity image path
  118. deepsomatic_image = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/deepsomatic_latest.sif"
  119. # DeepSomatic model type.
  120. deepsomatic_model_type = "ONT"
  121. # Force DeepSomatic recomputation.
  122. deepsomatic_force = false
  123. #######################################
  124. # ClairS configuration
  125. #######################################
  126. # Threads for ClairS.
  127. clairs_threads = 40
  128. # ClairS docker tag.
  129. clairs_image = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/clairs_latest.sif"
  130. # Force ClairS recomputation.
  131. clairs_force = false
  132. # Platform preset for ClairS.
  133. clairs_platform = "ont_r10_dorado_sup_5khz_ssrs"
  134. # ClairS output directory template.
  135. # {result_dir}, {id}
  136. clairs_output_dir = "{result_dir}/{id}/diag/ClairS"
  137. #######################################
  138. # Savana configuration
  139. #######################################
  140. # Savana binary (name or full path).
  141. savana_bin = "/home/t_steimle/.conda/envs/savana_env/bin/savana"
  142. # Threads for Savana.
  143. savana_threads = 40
  144. # Savana output directory template.
  145. # {result_dir}, {id}
  146. savana_output_dir = "{result_dir}/{id}/diag/savana"
  147. # Savana copy-number output file.
  148. # {output_dir}, {id}, {reference_name}, {haplotagged_bam_tag_name}
  149. savana_copy_number = "{output_dir}/{id}_diag_{reference_name}_{haplotagged_bam_tag_name}_segmented_absolute_copy_number.tsv"
  150. # Savana raw read counts file.
  151. savana_read_counts = "{output_dir}/{id}_diag_{reference_name}_{haplotagged_bam_tag_name}_raw_read_counts.tsv"
  152. # Savana passed VCF.
  153. savana_passed_vcf = "{output_dir}/{id}_diag_savana_PASSED.vcf.gz"
  154. # Force Savana recomputation.
  155. savana_force = false
  156. # Constitutional phased VCF template.
  157. # {result_dir}, {id}
  158. germline_phased_vcf = "{result_dir}/{id}/diag/{id}_variants_constit_phased.vcf.gz"
  159. #######################################
  160. # Severus configuration
  161. #######################################
  162. # Path to Severus script.
  163. severus_bin = " /home/t_steimle/somatic_pipe_tools/Severus/severus.py"
  164. # Force Severus recomputation.
  165. severus_force = false
  166. # Threads for Severus.
  167. severus_threads = 32
  168. # VNTRs BED for Severus.
  169. vntrs_bed = "/home/t_steimle/ref/hs1/vntrs_chm13.bed"
  170. # Path of the Severus panel of normals.
  171. severus_pon = "/home/t_steimle/ref/hs1/PoN_1000G_chm13.tsv.gz"
  172. # Paired Severus output directory.
  173. # {result_dir}, {id}
  174. severus_output_dir = "{result_dir}/{id}/diag/severus"
  175. # Solo Severus output directory.
  176. # {result_dir}, {id}, {time}
  177. severus_solo_output_dir = "{result_dir}/{id}/{time}/severus"
  178. #######################################
  179. # Straglr configuration
  180. #######################################
  181. # Path to Straglr executable.
  182. straglr_bin = "/home/t_steimle/.conda/envs/straglr_env/bin/straglr.py"
  183. # Path to STR loci BED file for Straglr.
  184. #
  185. # RepeatMasker Simple_repeat
  186. straglr_loci_bed = "/home/t_steimle/ref/hs1/simple_repeat_ucsc_hs1.bed"
  187. # Minimum allele size difference in bp to report as changed between normal and tumoral
  188. straglr_min_size_diff = 4
  189. # Minimum read support required for an allele to be considered for
  190. # change between normal and tumoral
  191. straglr_min_support_diff = 2
  192. # Minimum read support for STR genotyping.
  193. straglr_min_support = 2
  194. # Minimum cluster size for STR detection.
  195. straglr_min_cluster_size = 2
  196. # Whether to genotype in size mode.
  197. straglr_genotype_in_size = true
  198. # Template for paired Straglr output directory.
  199. #
  200. # Placeholders: `{result_dir}`, `{id}`.
  201. straglr_output_dir = "{result_dir}/{id}/diag/straglr"
  202. # Template for solo Straglr output directory.
  203. #
  204. # Placeholders: `{result_dir}`, `{id}`, `{time}`.
  205. straglr_solo_output_dir = "{result_dir}/{id}/{time}/straglr"
  206. # Force Straglr recomputation.
  207. straglr_force = false
  208. #######################################
  209. # Marlin
  210. #######################################
  211. marlin_bed = "/home/t_steimle/ref/hs1/marlin_v1.probes_t2t.bed"
  212. #######################################
  213. # Echtvar
  214. #######################################
  215. echtvar_bin = "/home/t_steimle/somatic_pipe_tools/echtvar"
  216. echtvar_sources = [
  217. "/home/t_steimle/ref/hs1/gnomAD_4-2022_10-gnomad.echtvar.zip",
  218. "/home/t_steimle/ref/hs1/CosmicCodingMuts.echtvar.zip"
  219. ]
  220. #######################################
  221. # Bcftools configuration
  222. #######################################
  223. # Path to longphase binary.
  224. bcftools_bin = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/bcftools"
  225. # Threads for longphase.
  226. bcftools_threads = 30
  227. #######################################
  228. # Longphase configuration
  229. #######################################
  230. # Path to longphase binary.
  231. longphase_bin = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/longphase_linux-x64"
  232. # Threads for longphase.
  233. longphase_threads = 20
  234. # Threads for longphase modcall step.
  235. # limit memory usage here
  236. longphase_modcall_threads = 4
  237. # Force longphase recomputation (haplotagging/phasing).
  238. longphase_force = false
  239. # Longphase modcall VCF template.
  240. # {result_dir}, {id}, {time}
  241. longphase_modcall_vcf = "{result_dir}/{id}/{time}/5mC_5hmC/{id}_{time}_5mC_5hmC_modcall.vcf.gz"
  242. #######################################
  243. # Modkit configuration
  244. #######################################
  245. # Path to modkit binary.
  246. modkit_bin = "/mnt/beegfs02/scratch/t_steimle/somatic_pipe_tools/modkit_latest/modkit"
  247. # Threads for `modkit summary`.
  248. modkit_summary_threads = 40
  249. # Modkit summary file template.
  250. # {result_dir}, {id}, {time}
  251. modkit_summary_file = "{result_dir}/{id}/{time}/{id}_{time}_5mC_5hmC_summary.txt"
  252. #######################################
  253. # Nanomonsv configuration
  254. #######################################
  255. # Path to nanomonsv binary.
  256. nanomonsv_bin = "/home/t_steimle/.conda/envs/nanomonsv_env/bin/nanomonsv"
  257. # Paired nanomonsv output directory template.
  258. # {result_dir}, {id}, {time}
  259. nanomonsv_output_dir = "{result_dir}/{id}/{time}/nanomonsv"
  260. # Force nanomonsv recomputation.
  261. nanomonsv_force = false
  262. # Threads for nanomonsv.
  263. nanomonsv_threads = 40
  264. # Paired nanomonsv PASSED VCF template.
  265. # {output_dir}, {id}
  266. nanomonsv_passed_vcf = "{output_dir}/{id}_diag_nanomonsv_PASSED.vcf.gz"
  267. # Solo nanomonsv output directory template.
  268. # {result_dir}, {id}, {time}
  269. nanomonsv_solo_output_dir = "{result_dir}/{id}/{time}/nanomonsv-solo"
  270. # Solo nanomonsv PASSED VCF template.
  271. # {output_dir}, {id}, {time}
  272. nanomonsv_solo_passed_vcf = "{output_dir}/{id}_{time}_nanomonsv-solo_PASSED.vcf.gz"
  273. # Path to simple repeat BED file for nanomonsv.
  274. # https://github.com/friend1ws/nanomonsv
  275. # Warning TBI index should exists
  276. nanomonsv_simple_repeat_bed = "/home/t_steimle/ref/hs1/human_chm13v2.0_simpleRepeat.bed.gz"
  277. #######################################
  278. # PromethION metadata
  279. #######################################
  280. # Directory containing PromethION run metadata.
  281. promethion_runs_metadata_dir = "/data/promethion-runs-metadata"
  282. # JSON file mapping flowcell IDs / runs for Pandora.
  283. promethion_runs_input = "/data/pandora-flowcell-id.json"
  284. #######################################
  285. # VEP configuration
  286. #######################################
  287. # Path to VEP singularity image
  288. vep_image = "/home/t_steimle/somatic_pipe_tools/vep_latest.sif"
  289. # Path to the VEP cache directory
  290. vep_cache_dir = "/home/t_steimle/ref/hs1/vepcache"
  291. # Path to VEP sorted GFF
  292. vep_gff = "/home/t_steimle/ref/hs1/chm13v2.0_RefSeq_Liftoff_v5.1_sorted.gff3.gz"
  293. #######################################
  294. # Alignment / basecalling (Dorado)
  295. #######################################
  296. [align]
  297. # Path to Dorado binary.
  298. dorado_bin = "/mnt/beegfs02/scratch/t_steimle/tools/dorado-latest-linux-x64/bin/dorado"
  299. # Dorado basecalling arguments (device, model, modifications…).
  300. dorado_basecall_arg = "-x 'cuda:all' sup,5mC_5hmC"
  301. # Should dorado re-align after demux ?
  302. dorado_should_realign = false
  303. # Dorado aligner threads number
  304. dorado_aligner_threads = 10
  305. # Reference FASTA used for alignment.
  306. ref_fa = "/mnt/beegfs02/scratch/t_steimle/ref/hs1/chm13v2.0.fa"
  307. # Minimap2 index used for alignment.
  308. ref_mmi = ""
  309. # Samtools bin
  310. samtools_bin = "/mnt/beegfs02/scratch/t_steimle/tools/samtools"
  311. # Threads for `samtools view`.
  312. samtools_view_threads = 10
  313. # Threads for `samtools sort`.
  314. samtools_sort_threads = 20
  315. # Threads for `samtools merge`.
  316. samtools_merge_threads = 40
  317. # Threads for `samtools split`.
  318. samtools_split_threads = 20