Skip to content

Commit

Permalink
removed multithreading for vcf concat
Browse files Browse the repository at this point in the history
  • Loading branch information
umahsn committed May 9, 2023
1 parent 8285591 commit d31ceb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nanocaller_src/indelCaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def call_manager(params):
final_vcf=os.path.join(params['vcf_path'],'%s.vcf.gz' %params['prefix'])
output_files['final']=final_vcf

run_cmd('bcftools concat --threads %d %s %s -a | bgziptabix %s' %(params['cpu'], output_files['snps'], output_files['indels'], output_files['final']), error=True)
run_cmd('bcftools concat %s %s -a | bgziptabix %s' %(output_files['snps'], output_files['indels'], output_files['final']), error=True)


return output_files

0 comments on commit d31ceb4

Please sign in to comment.