Repository revision
15:cdd6632b235a

Repository 'apollo_delete_organism'
hg clone https://toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism

Delete an Apollo record tool metadata
Miscellaneous
delete_organism
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.2.13
4.2.13
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.2.13+galaxy0
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.2.13 (this tool)
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.2.5
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.2.3
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.2.1
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.1
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/4.0.0
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/1.1
toolshed.g2.bx.psu.edu/repos/gga/apollo_delete_organism/delete_organism/1.0
delete_organism
Requirements (dependencies defined in the <requirements> tag set)
name version type
apollo 4.2.13 package
Additional information about this tool
if [ -z "\$ARROW_GLOBAL_CONFIG_PATH" ]; then
        echo "__default: local" > '.auth.yml' &&
        echo "local:" >> '.auth.yml' &&
        echo "    url: \"\$GALAXY_WEBAPOLLO_URL\"" >> '.auth.yml' &&
        echo "    username: \"\$GALAXY_WEBAPOLLO_USER\"" >> '.auth.yml' &&
        echo "    password: \"\$GALAXY_WEBAPOLLO_PASSWORD\"" >> '.auth.yml' &&

        export ARROW_GLOBAL_CONFIG_PATH='.auth.yml'
      ; fi &&
  

#if str($ask_one) == "yes":
    #if str($ask_two) == "yes":
        ## Nope, still don't trust them to not be dumb (or malicious), so we backup first.
        python '$__tool_directory__/export.py'
        

#if $org_source.source_select == "auto_json":
    --org_json '${org_source.org_file}'
#elif $org_source.source_select == "select":
    --org_id '${org_source.org_select}'
#else:
    --org_raw '${org_source.org_raw}'
#end if

  
        --gff '$gff_out'
        --fasta_pep '$fasta_pep'
        --fasta_cds '$fasta_cds'
        --fasta_cdna '$fasta_cdna'
        --vcf '$vcf_out'
        --json '$json_out'
        '$__user_email__'

        &&

        ## Now we delete
        python '$__tool_directory__/delete_organism.py'
        

#if $org_source.source_select == "auto_json":
    --org_json '${org_source.org_file}'
#elif $org_source.source_select == "select":
    --org_id '${org_source.org_select}'
#else:
    --org_raw '${org_source.org_raw}'
#end if

  
        '$__user_email__'
        >> '$output';
    #else
        echo "Nothing to do" > '$output';
    #end if
#else
    echo "Nothing to do" > '$output';
#end if
    
None
False
Functional tests
name inputs outputs required files
Test-1 org_source|org_raw: org3
org_source|source_select: direct
ask_one: True
ask_two: True
name: value
name: value
name: value
name: value
name: value
name: value
name: value
value