# HG changeset patch # User sanbi-uwc # Date 1456749272 18000 # Node ID d8c61b89caf25b23bfd98cc16d103117e43dd6e5 # Parent 3c0e3416627550ae4087cbe542eb266f06ac790d planemo upload for repository https://github.com/zipho/data_manager_novoalign_license_uploader commit bbe707e24f0baca8840603b0abb05bde8fa6d6a4 diff -r 3c0e34166275 -r d8c61b89caf2 data_manager/novoalign_license_uploader.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data_manager/novoalign_license_uploader.py Mon Feb 29 07:34:32 2016 -0500 @@ -0,0 +1,28 @@ +#!/usr/bin/env +# Zipho Masholoigu (SANBI-UWC) + +import os +import argparse + +import logging +log = logging.getLogger( __name__ ) + +LICENSE_TARGET_DIRECTORY = "novoalign" + +#Parse Command Line +parser = argparse.ArgumentParser(description="Upload the nonoalign license to the tool-data path") +parser.add_argument('--license_filename') +parser.add_argument('--license_dir') + +args = parser.parse_args() +filename = args.license_filename + +#create the license target directory +target_dir = args.license_dir + "/" + LICENSE_TARGET_DIRECTORY +license_file = target_dir+"/"+"license.lic" +if not os.path.isfile(license_file): + os.mkdir( target_dir ) + #move/copy license file to the tool-data path + os.rename( filename, target_dir+"/"+"license.lic") +else: + log.debug("License for novoalign seems to exists already") diff -r 3c0e34166275 -r d8c61b89caf2 data_manager/novoalign_license_uploader.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data_manager/novoalign_license_uploader.xml Mon Feb 29 07:34:32 2016 -0500 @@ -0,0 +1,27 @@ + + + Upload a license file to Galaxy tool-data directory + + + + + + upload_novoalign_lic.py --license_filename "${in_file}" --license_dir ${GALAXY_DATA_INDEX_DIR} + + + + + + + + + Loading the license file for Novo-align program to the tool-data path. + + + + + + + + + diff -r 3c0e34166275 -r d8c61b89caf2 data_manager/upload_novoalign_lic.py --- a/data_manager/upload_novoalign_lic.py Mon Feb 29 07:18:49 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -#!/usr/bin/env -# Zipho Masholoigu (SANBI-UWC) - -import os -import argparse - -import logging -log = logging.getLogger( __name__ ) - -LICENSE_TARGET_DIRECTORY = "novoalign" - -#Parse Command Line -parser = argparse.ArgumentParser(description="Upload the nonoalign license to the tool-data path") -parser.add_argument('--license_filename') -parser.add_argument('--license_dir') - -args = parser.parse_args() -filename = args.license_filename - -#create the license target directory -target_dir = args.license_dir + "/" + LICENSE_TARGET_DIRECTORY -license_file = target_dir+"/"+"license.lic" -if not os.path.isfile(license_file): - os.mkdir( target_dir ) - #move/copy license file to the tool-data path - os.rename( filename, target_dir+"/"+"license.lic") -else: - log.debug("License for novoalign seems to exists already") diff -r 3c0e34166275 -r d8c61b89caf2 data_manager/upload_novoalign_lic.xml --- a/data_manager/upload_novoalign_lic.xml Mon Feb 29 07:18:49 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ - - - Upload a license file to Galaxy tool-data directory - - - - - - upload_novoalign_lic.py --license_filename "${in_file}" --license_dir ${GALAXY_DATA_INDEX_DIR} - - - - - - - - - Loading the license file for Novo-align program to the tool-data path. - - - - - - - - - diff -r 3c0e34166275 -r d8c61b89caf2 data_manager_conf.xml --- a/data_manager_conf.xml Mon Feb 29 07:18:49 2016 -0500 +++ b/data_manager_conf.xml Mon Feb 29 07:34:32 2016 -0500 @@ -1,7 +1,6 @@ - - - \ No newline at end of file +