# HG changeset patch # User galaxyp # Date 1586244452 14400 # Node ID 73fc27617b2ecd1b3a4cb825aafe878f4af36442 # Parent c5b3b7eafd4603c2396fb1d2d5114141fe04a0d0 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/hardklor commit 44c3e37a12f60b01521d3e3f18b7f16664f954cc" diff -r c5b3b7eafd46 -r 73fc27617b2e hardklor.py --- a/hardklor.py Sat Aug 19 08:00:25 2017 -0400 +++ b/hardklor.py Tue Apr 07 03:27:32 2020 -0400 @@ -10,10 +10,10 @@ CONFIG_FILE = 'hk.conf' extension_lookup = { - 'mzml' : 'mzML', - 'mzxml' : 'mzXML', - 'ms1' : 'MS1', - } + 'mzml': 'mzML', + 'mzxml': 'mzXML', + 'ms1': 'MS1', +} # input: ms1_ext = sys.argv[1] @@ -33,7 +33,7 @@ ms1_ext = extension_lookup[ms1_ext] linkname = 'ms1_dsetlink.{0}'.format(ms1_ext) os.symlink(ms1_file, linkname) - ms1_file = linkname + ms1_file = linkname # load template and dump to config file with open(config_load) as fp: @@ -53,7 +53,7 @@ maxfeat=options['maxfeat'], inputfile=ms1_file, outputfile=output_file, - ) +) with open(CONFIG_FILE, 'w') as fp: fp.write(config_to_dump) diff -r c5b3b7eafd46 -r 73fc27617b2e hardklor.xml --- a/hardklor.xml Sat Aug 19 08:00:25 2017 -0400 +++ b/hardklor.xml Tue Apr 07 03:27:32 2020 -0400 @@ -1,16 +1,29 @@ - + identification of features from mass spectra hardklor + python - - - - python $__tool_directory__/hardklor.py "$ms1_in.extension" "$ms1_in" - "$output" -charge_algo=$cdm -resolution=$res -centroided=$centroided -instrument=$instrument -algorithm=$algorithm -mincharge=$chMin - -maxcharge=$chMax -mslvl=$mslvl -correlation=$corr -depth=$depth -sensitivity=$sens -maxfeat=$maxfeat + - + diff -r c5b3b7eafd46 -r 73fc27617b2e kronik.xml --- a/kronik.xml Sat Aug 19 08:00:25 2017 -0400 +++ b/kronik.xml Tue Apr 07 03:27:32 2020 -0400 @@ -1,4 +1,4 @@ - + processes Hardklor features to find peptides by chromatographic profiling kronik @@ -6,7 +6,7 @@ - kronik -c $c -d $d -g $g -m $m -n $n -p $p "$inputfile" "$output" + kronik -c $c -d $d -g $g -m $m -n $n -p $p '$inputfile' '$output'