Closed fmobegi closed 1 year ago
Hi,
It seems to me that there are no original SV signal called by Sniffles, therefore there are no signature that Duet can process of. Could you please try another base SV caller for comparison, and set the --sv_min_size to be smaller e.g. 35?
Regards, Yekai
The program probably runs to completion but the parallel_wh.sh: 1: Syntax error: "(" unexpected
error shows up on every sample and on every sv caller.
Done.
Wrote 1 called SVs to 02_variants/duet_sniffles/19QB002386_barcode05/sv_calling/variants.vcf (single-sample, sorted)
13:57:12 [INFO] ************************* SV CALLING COMPLETED IN 1.039s *************************
13:57:12 [INFO] ************************* SNP PHASING STARTED *************************
02_variants/duet_sniffles/19QB002386_barcode05/snp_phasing/parallel_wh.sh: 1: Syntax error: "(" unexpected
13:57:12 [INFO] ************************* SNP PHASING COMPLETED IN 0.022s *************************
13:57:12 [INFO] ************************* SV PHASING STARTED *************************
13:57:12 [INFO] create output .vcf file
13:57:12 [INFO] extract SNP signatures
13:57:12 [INFO] extract SV signatures
13:57:12 [INFO] signatures extracted from chr6
13:57:12 [INFO] integrate read weight information
13:57:12 [INFO] calculate read weight statistics
13:57:12 [INFO] predict SV haplotypes in the callset
13:57:12 [INFO] write phased callset into .vcf file
13:57:12 [INFO] ************************* SV PHASING COMPLETED IN 0.017s *************************
13:57:12 [INFO] ************************* DUET FINISHED IN 22.341s *************************
13:57:12 [INFO] OUTPUT .VCF FILE AT 02_variants/duet_sniffles/19QB002386_barcode05/phased_sv.vcf
13:57:12 [INFO] ************************* DUET STARTED *************************
13:57:12 [INFO] ************************* SNP CALLING STARTED *************************
Could you please share the parallel_wh.sh to see if there are ways to fix?
Thanks for pointing this out. It is because of a inconsistency between ./parallel_wh.sh
and bash ./parallel_wh.sh
in different operation systems.
We will fix this in our next release. For now, you may choose to download a local copy and change the 32th line of duet/src/duet/snp_phasing.py from os.system(snp_phasing_home + 'parallel_wh.sh')
to os.system('bash ' + snp_phasing_home + 'parallel_wh.sh')
, which will work fine.
WIll try that.. Thanks
There seems to be a Syntax error in
snp_phasing
when running duet on a single chromosome. The command am running:duet -t 8 -a -b sniffles 01_minimap2_mapping/sample1.bam /data/references/human_references/chr6_hg38.fasta 02_variants/duet_sniffles/sample1
The error:
Running
bash parallel_wh.sh
completes without any issues.