Repository revision
9:2270a8b83c12

Repository 'gemini_load'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/gemini_load

GEMINI load tool metadata
Miscellaneous
GEMINI load
Loading a VCF file into GEMINI
gemini_load
toolshed.g2.bx.psu.edu/repos/iuc/gemini_load/gemini_load/0.20.1+galaxy2
0.20.1+galaxy2
gemini --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/gemini_load/gemini_load/0.20.1+galaxy2 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/gemini_load/gemini_load/0.20.1+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/gemini_load/gemini_load/0.20.1
toolshed.g2.bx.psu.edu/repos/iuc/gemini_load/gemini_load/0.18.1.1
toolshed.g2.bx.psu.edu/repos/iuc/gemini_load/gemini_load/0.18.1.0
gemini_load
Requirements (dependencies defined in the <requirements> tag set)
name version type
gemini 0.20.1 package
Additional information about this tool
mkdir gemini &&
        ln -s '${annotation_databases.fields.path}/gemini/data' gemini/data &&
        export GEMINI_CONFIG='${annotation_databases.fields.path}' &&
    

        ## gemini load expects a bgzipped and tabixed vcf as input
        #set $tabixed_file = 'input.vcf.gz'
        #if $infile.ext == 'vcf':
            bgzip -c '$infile' > $tabixed_file &&
            tabix -p vcf $tabixed_file &&
        #else:
            ln -s '$infile' $tabixed_file &&
            ln -s '$infile.metadata.tabix_index' ${tabixed_file}.tbi &&
        #end if

        gemini
            load
            -v input.vcf.gz
            #if str( $annotation_type ) != "None":
                -t $annotation_type
            #end if

            $has_genotypes

            #if $ped:
                -p $ped
            #end if

            #if 'gerp_bp' not in str($opt_content):
                --skip-gerp-bp
            #end if
            #if 'cadd' not in str($opt_content):
                --skip-cadd
            #end if
            #if 'gene_tables' not in str($opt_content):
                --skip-gene-tables
            #end if
            #if 'genotypes' not in str($opt_content):
                --no-load-genotypes
            #end if
            #if 'gt_pl' not in str($opt_content):
                --skip-pls
            #end if
            #if 'passonly' in str($opt_content):
                --passonly
            #end if
            #if 'info_string' in str($opt_content):
                --save-info-string
            #end if

            --cores \${GALAXY_SLOTS:-4}

            '$outfile'

    
None
False
Functional tests
name inputs outputs required files
Test-1 infile: gemini_load_input.vcf
annotation_databases: 1999-01-01
opt_content: ['gene_tables', 'genotypes', 'gt_pl']
name: value
gemini_load_input.vcf
value
Test-2 infile: gemini_load_input.vcf
has_genotypes: True
annotation_databases: 1999-01-01
opt_content: ['gerp_bp', 'cadd', 'gene_tables', 'genotypes', 'gt_pl']
name: value
gemini_load_input.vcf
value
Test-3 infile: gemini_load_input.vcf
has_genotypes: False
annotation_databases: 1999-01-01
opt_content: ['genotypes', 'gt_pl']
name: value
gemini_load_input.vcf
value
Test-4 infile: gemini_amend.vcf
has_genotypes: True
annotation_databases: 1999-01-01
ped: gemini_amend.ped
opt_content: ['gene_tables', 'genotypes', 'gt_pl']
name: value
gemini_amend.vcf
gemini_amend.ped
value
Test-5 infile: gemini_amend.vcf.gz
has_genotypes: True
annotation_databases: 1999-01-01
ped: gemini_amend.ped
opt_content: ['gene_tables', 'genotypes', 'gt_pl']
name: value
gemini_amend.vcf.gz
gemini_amend.ped
value