Mercurial > repos > scottx611x > qualimap2_bamqc
comparison qualimap_bamqc.py @ 26:241f81fdff98 draft
planemo upload for repository https://github.com/scottx611x/qualimap2 commit dc78b7c4b1780b316ca4aba2be247969ac1100ec-dirty
author | scottx611x |
---|---|
date | Thu, 26 Jul 2018 16:13:38 -0400 |
parents | e985769ec0ac |
children | cfe86907a867 |
comparison
equal
deleted
inserted
replaced
25:e985769ec0ac | 26:241f81fdff98 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 from __future__ import print_function | 2 from __future__ import print_function |
3 import argparse | 3 import argparse |
4 from subprocess import check_call, CalledProcessError | 4 from subprocess import check_call, CalledProcessError |
5 import os | |
5 import shutil | 6 import shutil |
6 import sys | 7 import sys |
7 | 8 |
8 | 9 |
9 def qualimap_bamqc(bam_filename, genomecov_file, jv_mem_size): | 10 def qualimap_bamqc(bam_filename, genomecov_file, jv_mem_size): |
36 args.out_genome_file, | 37 args.out_genome_file, |
37 args.java_mem_size | 38 args.java_mem_size |
38 ) | 39 ) |
39 | 40 |
40 shutil.make_archive( | 41 shutil.make_archive( |
41 'raw_data_qualimapReport.zip', | 42 'raw_data_qualimapReport', |
42 'zip', | 43 'zip', |
43 './raw_data_qualimapReport' | 44 os.path.join(os.get_cwd(), 'raw_data_qualimapReport') |
44 ) | 45 ) |
45 | 46 |
46 | 47 |
47 if __name__ == "__main__": | 48 if __name__ == "__main__": |
48 main() | 49 main() |