pandora-config.example.toml 13 KB

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