# HG changeset patch # User iuc # Date 1649763411 0 # Node ID 1162bfd9f78217f55d255ab793c2b7238df4843e # Parent caf213d51d6cea672c0d93a6f17ddf76f5181af1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit f91c99780efc91e89950ed9494ef9e6f83d198c7" diff -r caf213d51d6c -r 1162bfd9f782 pyega3.xml --- a/pyega3.xml Fri Oct 30 22:18:41 2020 +0000 +++ b/pyega3.xml Tue Apr 12 11:36:51 2022 +0000 @@ -1,9 +1,9 @@ - + - 3.4.0 + 4.0.0 - pyega3 + pyega3 '$dataset_file_list' && + + ## remove timestamps and convert spaces to tabs + grep EGAF pyega3_output.log | sed -e 's/^\[.*\]\s\+//g' | sed 's/\s\+/\t/g' >> '$dataset_file_list' + #elif $action.action_type == "download_file" - pyega3 -cf '$credentials' + pyega3 -c \${PYEGA_CONNECTIONS:-30} -cf '$credentials' fetch '$action.file_id' + --max-retries 10 #if $action.range.reference_name --reference-name '$action.range.reference_name' #if $action.range.start @@ -30,7 +39,30 @@ --end $action.range.end #end if #end if - --saveto '$downloaded_file' + && mv ${action.file_id} downloads + && rm -f downloads/*.md5 ## checksum validation already performed by pyEGA, cleanup downloads folder + +#elif $action.action_type == "download_files" + #set file_ids=[x.split('\t')[int(str($action.id_column))-1] for x in open(str($id_table)).readlines() if x.split('\t')[int(str($action.id_column))-1].startswith('EGAF') ] + mkdir downloads + #for f in $file_ids + && + pyega3 -c \${PYEGA_CONNECTIONS:-30} -cf '$credentials' + fetch '$f' + --max-retries 10 + #if $action.range.reference_name + --reference-name '$action.range.reference_name' + #if $action.range.start + --start $action.range.start + #end if + #if $action.range.end + --end $action.range.end + #end if + #end if + --output-dir downloads + #end for + && rm -f downloads/**/*.md5 ## checksum validation already performed by pyEGA, clean up downloads folder + #end if ]]> @@ -53,6 +85,7 @@ + @@ -65,40 +98,59 @@ EGAF[0-9]+
- - - + + + +
+
+ + + +
+ + +
+ action['action_type'] == 'list_datasets' - + action['action_type'] == 'list_dataset_files' - + action['action_type'] == 'download_file' + + output_log + + + action['action_type'] == 'download_files' + + - + - + - + + + - + @@ -109,7 +161,7 @@ - + @@ -117,6 +169,27 @@ + + + + + + + + + + + + + + + + + + + + +