Repository revision
12:8479d9a67998

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

Stacks: rxstacks tool metadata
Miscellaneous
make corrections to genotype and haplotype calls
stacks_rxstacks
toolshed.g2.bx.psu.edu/repos/iuc/stacks_rxstacks/stacks_rxstacks/1.46.0
1.46.0
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/stacks_rxstacks/stacks_rxstacks/1.46.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/stacks_rxstacks/stacks_rxstacks/1.42.0
toolshed.g2.bx.psu.edu/repos/iuc/stacks_rxstacks/stacks_rxstacks/1.40.1
toolshed.g2.bx.psu.edu/repos/iuc/stacks_rxstacks/stacks_rxstacks/1.40.0
stacks_rxstacks
Requirements (dependencies defined in the <requirements> tag set)
name version type
stacks 1.46 package
velvet 1.2.10 package
stacks_summary 1.1 package
Additional information about this tool
mkdir stacks_inputs stacks_outputs

        &&

        #for $input_file in $input_col
            #set $ext = ""
            #if not str($input_file.element_identifier).endswith('.tsv')
                #set $ext = ".tsv"
            #end if
            ln -s '${input_file}' 'stacks_inputs/${input_file.element_identifier}${ext}' &&
        #end for

        rxstacks

            -t \${GALAXY_SLOTS:-1}

            -P stacks_inputs

            ## Batch description
            -b 1

            #if str($options_filtering.lnl)
                --lnl_filter
                --lnl_lim $options_filtering.lnl
            #end if

            $options_filtering.lnl_dist

            #if str($options_filtering.conf)
                --conf_filter
                --conf_lim $options_filtering.conf
            #end if

            #if $options_filtering.prune.prune_haplo == "yes"
                --prune_haplo
                #if str($options_filtering.prune.max_haplo)
                    --max_haplo $options_filtering.prune.max_haplo
                #end if
            #end if

            ## snp_model
            #if str( $snp_options.select_model.model_type) == "bounded"
                --model_type bounded
                --bound_low $snp_options.select_model.bound_low
                --bound_high $snp_options.select_model.bound_high
                --alpha $snp_options.select_model.alpha
            #else if str( $snp_options.select_model.model_type) == "snp"
                --model_type snp
                --alpha $snp_options.select_model.alpha
            #else
                --model_type fixed
            #end if

            -o stacks_outputs
    
None
False
Functional tests
name inputs outputs required files
Test-1 input_col: list collection
options_filtering|lnl: -10.0
options_filtering|lnl_dist: True
name: value
name: value
genotypes/batch_1.catalog.alleles.tsv
genotypes/batch_1.catalog.snps.tsv
genotypes/batch_1.catalog.tags.tsv
genotypes/PopA_01.alleles.tsv
genotypes/PopA_01.matches.tsv
genotypes/PopA_01.snps.tsv
genotypes/PopA_01.tags.tsv
genotypes/PopA_02.alleles.tsv
genotypes/PopA_02.matches.tsv
genotypes/PopA_02.snps.tsv
genotypes/PopA_02.tags.tsv
value