annotate ena_webin_cli.xml @ 0:c9f87770ba8f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
author iuc
date Tue, 05 Aug 2025 11:53:57 +0000
parents
children 93fac0ae859f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
1 <tool id="ena_webin_cli" name="ENA Webin CLI" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="MIT" profile="24.2">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
2 <description>Submission of consensus sequences to the European Nucleotide Archive (ENA)</description>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
3 <macros>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">8.1.1</token>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
6 </macros>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
7 <requirements>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">ena-webin-cli</requirement>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
9 <requirement type="package" version="1.76">biopython</requirement>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
10 <requirement type="package" version="5.3">pyyaml</requirement>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
11 </requirements>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
13 #if $dry_run == "True":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
14 #set $credentials='./test_fake_path';
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
15 touch $credentials;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
16 echo "username:test_user" >> $credentials;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
17 echo "password:test_password" >> $credentials;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
18 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
19
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
20 webin_id=`grep 'username' $credentials | cut -d':' -f2,2`;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
21 if [ "\$webin_id" = "" ]; then
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
22 ## No credentials in user defined preferences
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
23 ## Fallback to global defined credentials (if exist)
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
24 #import os
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
25 #if os.path.isfile(os.environ.get('GALAXY_ENA_SECRETS', '')):
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
26 credentials_path=\${GALAXY_ENA_SECRETS};
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
27 webin_id=`grep 'username' \$GALAXY_ENA_SECRETS | cut -d':' -f2,2` | sed -e 's/^[[:space:]]*//'`;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
28 password=`grep 'password' \$GALAXY_ENA_SECRETS | cut -d':' -f2,2` | sed -e 's/^[[:space:]]*//'`;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
29 if [ "\$webin_id" = "" ]; then
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
30 echo "No global credentials defined. Check your GALAXY_ENA_SECRETS file or set your credentials via: User -> Preferences -> Manage Information";
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
31 exit 1;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
32 fi;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
33 #else:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
34 echo "No ENA credentials defined. Set your credentials via: User -> Preferences -> Manage Information";
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
35 exit 1;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
36 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
37 else
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
38 password=`grep 'password' $credentials | cut -d':' -f2,2`;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
39 fi;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
40
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
41
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
42 ## create a manifest base file with the parameters that are identical for all sequences that will be submited (if submitting a multifasta)
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
43 #set $manifest_base = 'manifest_base.tab'
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
44 mkdir manifests;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
45 mkdir fasta;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
46
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
47 echo -e 'ASSEMBLY_TYPE\t$assembly_type' > $manifest_base;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
48 echo -e 'COVERAGE\t$coverage' >> $manifest_base;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
49 echo -e 'PROGRAM\t$assembly_program' >> $manifest_base;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
50 #if $min_gap_length:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
51 echo -e 'MINGAPLENGTH\t$min_gap_length' >> $manifest_base;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
52 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
53 echo -e 'MOLECULETYPE\t$molecule_type' >> $manifest_base;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
54
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
55 #if $metadata_file_or_form.metadata_format == "file":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
56 #import re
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
57 #for $file in $metadata_file_or_form.genome_fasta:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
58 #if $file.is_of_type('fasta'):
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
59 #set $full_name = $file.element_identifier + '.gz'
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
60 gzip -c '$file' > './fasta/$full_name';
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
61 #else:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
62 ln -s '$file' './fasta/$file.element_identifier';
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
63 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
64
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
65 #end for
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
66 ## process the input tables, this creates an intermediate file with information
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
67 python3 '$__tool_directory__/process_input.py' $metadata_file_or_form.ena_receipt $genome_fasta_files './manifests' $manifest_base >> $webin_cli_log;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
68 center_name=`grep 'center_name' $metadata_file_or_form.ena_receipt | cut -f2,2 | tr -d '\n'`;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
69 #else:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
70 #set $generated_manifest='./manifests/generated_manifest.txt'
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
71 cp $manifest_base $generated_manifest;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
72 #set $study_id = $metadata_file_or_form.study_accession
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
73 #set $sample_id = $metadata_file_or_form.sample_accession
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
74 echo -e 'STUDY\t$study_id' >> $generated_manifest;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
75 echo -e 'SAMPLE\t$sample_id' >> $generated_manifest;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
76 center_name='$metadata_file_or_form.center_name';
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
77 echo -e 'NAME\t$metadata_file_or_form.assembly_name' >> $generated_manifest;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
78 echo -e 'PLATFORM\t$metadata_file_or_form.sequencing_platform' >> $generated_manifest;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
79 #if $metadata_file_or_form.genome_fasta.is_of_type('fasta'):
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
80 gzip -c $metadata_file_or_form.genome_fasta > consensus.fasta.gz;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
81 #else:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
82 ln -s $metadata_file_or_form.genome_fasta consensus.fasta.gz;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
83 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
84 echo -e 'FASTA\tconsensus.fasta.gz' >> $generated_manifest;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
85 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
86
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
87 #set $outputs_dir = 'outputs'
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
88 mkdir $outputs_dir;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
89 #if $metadata_file_or_form.metadata_format == "file":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
90 ## iterate over the list of manifest - fasta generated by the process_input
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
91 ## in case of errors, this list is empty
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
92 while read line; do
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
93 manifest=`echo \$line | cut -d' ' -f1,1`;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
94 echo "Submitting manifest \$manifest" >> $webin_cli_log;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
95 ena-webin-cli
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
96 -context genome
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
97 -userName "'\$webin_id'"
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
98 -password "'\$password'"
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
99 -centerName "'\$center_name'"
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
100 -manifest \$manifest
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
101 -inputDir './fasta'
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
102 #if $submit_test == "true":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
103 -test
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
104 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
105 #if $dry_run == "true":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
106 -validate
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
107 #else:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
108 -submit
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
109 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
110 -outputDir $outputs_dir
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
111 >> $webin_cli_log;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
112 done < submit_list.tab;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
113
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
114 #else:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
115 ena-webin-cli
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
116 #if $submit_test == "true":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
117 -test
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
118 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
119 #if $dry_run == "true":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
120 -validate
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
121 #else:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
122 -submit
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
123 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
124 -context genome
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
125 -manifest $generated_manifest
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
126 -password "'\$password'"
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
127 -userName "'\$webin_id'"
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
128 -inputDir "./"
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
129 -centerName "'\$center_name'"
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
130 -outputDir $outputs_dir
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
131 >> $webin_cli_log ;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
132 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
133 tar -cf $webin_cli_outputs $outputs_dir ;
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
134 ]]></command>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
135 <configfiles>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
136 <configfile name="credentials"><![CDATA[
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
137 #set $webin_id = $__user__.extra_preferences.get('ena_webin_account|webin_id', "").strip()
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
138 #set $password = $__user__.extra_preferences.get('ena_webin_account|password', "").strip()
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
139 #if $webin_id != "":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
140 username:$webin_id
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
141 password:$password
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
142 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
143
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
144 ]]></configfile>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
145 <configfile name="genome_fasta_files">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
146 #import json
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
147 #import re
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
148 #if $metadata_file_or_form.metadata_format == "file":
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
149 #set $fasta_files_list = list()
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
150 #for $file in $metadata_file_or_form.genome_fasta:
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
151 $fasta_files_list.append(str($file.element_identifier))
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
152 #end for
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
153 #echo json.dumps($fasta_files_list)
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
154 #end if
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
155 </configfile>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
156 </configfiles>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
157 <inputs>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
158 <param name="assembly_type" type="select" label="Assembly type">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
159 <option value="clone">Clone</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
160 <option value="isolate">Isolate</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
161 <option value="COVID-19 outbreak">COVID-19 outbreak</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
162 </param>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
163 <param name="assembly_program" type="text" optional="False" label="Assembly program"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
164 <param name="molecule_type" type="select" label="Molecule type">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
165 <option value="genomic RNA" selected="True">genomic RNA</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
166 <option value="viral cRNA">viral cRNA</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
167 <option value="genomic DNA">genomic DNA</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
168 </param>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
169 <param name="coverage" type="float" optional="False" value="10000" label="Coverage"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
170 <param name="min_gap_length" type="text" optional="True" label="Minimum gap length (optional)"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
171 <conditional name="metadata_file_or_form">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
172 <param name="metadata_format" type="select" label="Select the method to load study and sample metadata">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
173 <option value="form" selected="True">Fill in required submission metadata</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
174 <option value="file">I used the Galaxy ENA upload tool to submit the raw data: parse the received submission receipt</option>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
175 </param>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
176 <when value="file">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
177 <param type="data" format="txt" name="ena_receipt" label="Submission receipt obtained from ENA upload tool"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
178 <param name="genome_fasta" type="data" label="Select the consensus sequence assembly files or a collection of them" format="fasta,fasta.gz" multiple="true"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
179 </when>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
180 <when value="form">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
181 <param name="assembly_name" type="text" optional="False" label="Assembly name"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
182 <param name="study_accession" type="text" optional="False" label="Study accession"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
183 <param name="sample_accession" type="text" optional="False" label="Sample accession"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
184 <param name="sequencing_platform" type="text" optional="False" label="Sequencing platform"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
185 <param name="description" type="text" optional="True" value="" label="Description" help="Free text description of the genome assembly (optional)"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
186 <param name="center_name" type="text" optional="False" label="Center name"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
187 <param name="genome_fasta" type="data" label="Select the consensus sequence assembly file" format="fasta,fasta.gz"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
188 </when>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
189 </conditional>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
190 <param name="submit_test" type="boolean" truevalue="true" falsevalue="false" label="Submit to ENA test server" help="Uploads to the test server of ENA will not be made public and will be removed automatically in 24 hours. Performing a preliminary test upload is advised to check for errors with metadata structure. You can find these uploads at https://wwwdev.ebi.ac.uk/ena/." />
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
191 <param name="dry_run" type="boolean" truevalue="true" falsevalue="false" label="Validate files and metadata but do not submit" help="Generate input files and run Webin-CLI with -validate option. If 'No' is selected then it will validate and submit (-submit flag)"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
192 </inputs>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
193 <outputs>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
194 <collection name="generated_manifests" type="list" label="Generated manifests">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
195 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.txt" ext="txt" directory="manifests/"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
196 </collection>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
197 <data name="webin_cli_log" label="ENA submission log" format="txt"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
198 <data name="webin_cli_outputs" label="Webin cli outputs" format="tar"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
199
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
200 </outputs>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
201 <tests>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
202 <test>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
203 <param name="submit_test" value="true" />
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
204 <param name="dry_run" value="true" />
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
205 <param name="assembly_type" value="isolate"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
206 <param name="assembly_program" value="Test assembly program"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
207 <param name="molecule_type" value="viral cRNA"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
208 <param name="coverage" value="10000"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
209 <conditional name="metadata_file_or_form">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
210 <param name="metadata_format" value="form"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
211 <param name="assembly_name" value="Test assembly name"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
212 <param name="study_accession" value="PRJEB49173"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
213 <param name="sample_accession" value="SAMEA11953908"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
214 <param name="sequencing_platform" value="Nanopore 0011"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
215 <param name="description" value="Test Description"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
216 <param name="center_name" value="Test center name"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
217 <param name="genome_fasta" value="phiX2.fasta"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
218 </conditional>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
219 <param name="min_gap_length" value="30"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
220 <output name="webin_cli_log">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
221 <assert_contents>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
222 <has_n_lines n="4"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
223 <has_text_matching expression="ERROR: Invalid submission account user name or password."/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
224 </assert_contents>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
225 </output>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
226 </test>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
227 <test>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
228 <param name="submit_test" value="true" />
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
229 <param name="dry_run" value="true" />
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
230 <param name="assembly_type" value="isolate"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
231 <param name="assembly_program" value="Test assembly program"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
232 <param name="molecule_type" value="viral cRNA"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
233 <param name="coverage" value="10000"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
234 <conditional name="metadata_file_or_form">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
235 <param name="metadata_format" value="file"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
236 <param name="ena_receipt" value="receipt_sample_noPhiX.txt"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
237 <param name="genome_fasta" value="phiX2.fasta.gz,sample_alias_001.fasta.gz"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
238 </conditional>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
239 <param name="min_gap_length" value="30"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
240 <output name="webin_cli_log">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
241 <assert_contents>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
242 <has_text_matching expression="Processing phiX2"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
243 <has_text_matching expression="No metadata found for sample phiX2"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
244 <has_text_matching expression="Processing sample_alias_001"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
245 <has_text_matching expression="Submitting manifest ./manifests/sample_alias_001.manifest.txt"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
246 <has_text_matching expression="ERROR: Invalid submission account user name or password. Please try enclosing your password in single quotes."/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
247 </assert_contents>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
248 </output>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
249 </test>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
250 <test>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
251 <param name="submit_test" value="true" />
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
252 <param name="dry_run" value="true" />
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
253 <param name="assembly_type" value="isolate"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
254 <param name="assembly_program" value="Test assembly program"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
255 <param name="molecule_type" value="viral cRNA"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
256 <param name="coverage" value="10000"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
257 <conditional name="metadata_file_or_form">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
258 <param name="metadata_format" value="file"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
259 <param name="ena_receipt" value="receipt_sample.txt"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
260 <param name="genome_fasta" value="sample_alias_001.fasta.gz"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
261 </conditional>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
262 <param name="min_gap_length" value="30"/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
263 <output name="webin_cli_log">
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
264 <assert_contents>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
265 <has_text_matching expression="ERROR: Invalid submission account user name or password. Please try enclosing your password in single quotes."/>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
266 </assert_contents>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
267 </output>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
268 </test>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
269 </tests>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
270 <help><![CDATA[
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
271 This tool is a wrapper for the ENA Webin CLI submission tool (https://ena-docs.readthedocs.io/en/latest/submit/general-guide/webin-cli.html).
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
272
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
273 .. class:: warningmark
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
274
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
275 The ENA upload tool won't work unless you have provided an ENA Webin ID in User > Preferences > Manage Information > ENA Webin account details.]]></help>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
276 <citations>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
277 <citation type="doi">10.1093/nar/gkac1051</citation>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
278 </citations>
c9f87770ba8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ena_webin_cli commit 35b4a063e227ea4a2440e23c4df5c27e42c077cb
iuc
parents:
diff changeset
279 </tool>