# HG changeset patch # User galaxyp # Date 1447967609 18000 # Node ID a7c58067f5eefea19ddd848a5bb50c27ec85febd # Parent 12c5c3a50d4b0b9781d1484ef93a7aa0af953565 Uploaded diff -r 12c5c3a50d4b -r a7c58067f5ee morpheus.xml --- a/morpheus.xml Thu Nov 19 16:02:50 2015 -0500 +++ b/morpheus.xml Thu Nov 19 16:13:29 2015 -0500 @@ -1,4 +1,4 @@ - + database search algorithm for high-resolution tandem mass spectra @@ -54,17 +54,29 @@ output_reports/\$i; - done ) + #set $out_list = 'summary.tsv PSMs.tsv unique_peptides.tsv protein_groups.tsv log.txt *.pep.xml' + #if len($input_list) > 1: + && ( basepath=`grep 'Proteome Database:' log.txt | sed 's/Proteome Database: \(.*\)${$searchdb_name}/\1/'`; + for i in $out_list; do cat \$i | sed "s#\${basepath}\##" > output_reports/\$i; done ) + #else + && ( basepath=`grep 'Proteome Database:' *.log.txt | head -1 | sed 's/Proteome Database: \(.*\)${$searchdb_name}/\1/'`; + for i in $out_list; do cat *\$i | sed "s#\${basepath}\##" > output_reports/\$i; done ) + #end if ]]> - + @@ -207,12 +223,14 @@ - - - - - - + + + + + + + + diff -r 12c5c3a50d4b -r a7c58067f5ee morpheus.xml.new --- a/morpheus.xml.new Thu Nov 19 16:02:50 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,339 +0,0 @@ - - database search algorithm for high-resolution tandem mass spectra - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - mono - morpheus - - - - - - - - 1: - #set $out_list = 'summary.tsv PSMs.tsv unique_peptides.tsv protein_groups.tsv log.txt *.pep.xml' - #else - #set $out_list = 'summary.tsv *PSMs.tsv *unique_peptides.tsv *protein_groups.tsv *log.txt *.pep.xml' - #end if - && ( cwd=`pwd`;basepath="\${cwd}/"; - for i in $out_list; do - #if len($input_list) > 1: - cat \$i - #else - cat *\$i - #end if - | sed "s#\${basepath}##" > output_reports/\$i; - done ) - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10.1021/pr301024c - -