# HG changeset patch # User refinery-platform # Date 1532967535 14400 # Node ID a2438e0f1bbf11c6e1d67b2358e4f0d541a8bd8a # Parent f18b4224ff36b0319a605dfa4644dd1fffbe52da planemo upload for repository https://github.com/refinery-platform/qualimap2 commit 40f39b0f1c81cae4606d15d1c0bd318b1e4c572d diff -r f18b4224ff36 -r a2438e0f1bbf qualimap_bamqc.py --- a/qualimap_bamqc.py Mon Jul 30 12:12:18 2018 -0400 +++ b/qualimap_bamqc.py Mon Jul 30 12:18:55 2018 -0400 @@ -34,16 +34,21 @@ parser.add_argument('--java_mem_size') args = parser.parse_args() - + + # Run qualimap qualimap_bamqc(args.input_file, args.java_mem_size) - + + # Create .zip archive containing the raw_data_qualimapReport files shutil.make_archive( 'raw_data_qualimapReport', 'zip', os.path.join(QUALIMAP_OUPUT_DIR, 'raw_data_qualimapReport') ) - + + # Move newly created .zip to it's proper Galaxy output file shutil.move("raw_data_qualimapReport.zip", args.out_zip) + + # Move genome_results.txt to it's proper Galaxy output file shutil.move( os.path.join(QUALIMAP_OUPUT_DIR, "genome_results.txt"), args.out_results