pandora-config.example.toml 13 KB

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