@@ -50,37 +50,16 @@ workflow RescueAndLocityper {
5050 input :
5151 sample_id = sample_id ,
5252 input_fq1 = Rescue .fastq_gz ,
53- # input_fq2 = fastq_r2[scatter_index],
5453 db_targz = GenerateDB .db_tar ,
5554 counts_file = counts_jf ,
5655 reference = ref_fa_with_alt ,
57- # weights_file = weights_file,
5856 locus_name = locus_name ,
5957 reference_index = ref_fai_with_alt ,
6058 docker = locityper_docker ,
6159 locityper_n_cpu = 4 ,
6260 locityper_mem_gb = 32
6361 }
6462
65- # scatter (scatter_index in range(length(sample_ids))) {
66- # call locityper_preprocess_and_genotype {
67- # input:
68- # sample_id = sample_ids[scatter_index],
69- # input_fq1 = fastq_r1[scatter_index],
70- # input_fq2 = fastq_r2[scatter_index],
71- # db_targz = generate_db.db_tar,
72- # counts_file = counts_jf,
73- # reference = reference,
74- # weights_file = weights_file,
75- # locus_name = locus_name,
76- # reference_index = reference_index,
77- # docker = locityper_docker,
78- # locityper_n_cpu = locityper_n_cpu,
79- # locityper_mem_gb = locityper_mem_gb
80-
81- # }
82- # }
83-
8463 output {
8564 File results = LocityperPreprocessAndGenotype .genotype_tar
8665 }
@@ -234,7 +213,9 @@ task Rescue {
234213 export REF_CACHE = "$(pwd)/ref/cache/%2s/%2s/%s"
235214
236215 hidive rescue -r Homo_sapiens_assembly38.fasta -f ~{long_reads_fastx } ~{short_reads_cram } | gzip > ~{prefix }.fq.gz
237- hidive fetch -l "chr17:72062001-76562000" -p 10000 ~{short_reads_cram } | gzip >> ~{prefix }.fq.gz
216+
217+ hidive fetch -l "chr17:72062001-76562000" -p 10000 Homo_sapiens_assembly38.fasta > chr17.fa
218+ hidive rescue -r Homo_sapiens_assembly38.fasta -f chr17.fa ~{short_reads_cram } | gzip >> ~{prefix }.fq.gz
238219 >>>
239220
240221 output {
0 commit comments