Repository revision
5:311d11c4a68b

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

ARTIC guppyplex tool metadata
Miscellaneous
Filter Nanopore reads by read length and (optionally) quality
artic_guppyplex
toolshed.g2.bx.psu.edu/repos/iuc/artic_guppyplex/artic_guppyplex/1.6.0+galaxy0
1.6.0+galaxy0
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/artic_guppyplex/artic_guppyplex/1.7.3+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/artic_guppyplex/artic_guppyplex/1.6.0+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/artic_guppyplex/artic_guppyplex/1.2.3+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/artic_guppyplex/artic_guppyplex/1.2.1+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/artic_guppyplex/artic_guppyplex/1.2.1+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/artic_guppyplex/artic_guppyplex/1.2.1+galaxy0
artic_guppyplex
Requirements (dependencies defined in the <requirements> tag set)
name version type
artic 1.6.0 package
Additional information about this tool
mkdir inputs &&

        ## Note about compression handling in the following:
        ## guppyplex use mimetypes.guess_type to guess compression so
        ## it's important to get the suffix of the inputs right.
        ## Even if it detects compressed input, it will write uncompressed
        ## output so we need to handle output compression separately.

        ## symlink input files to appropriate names in the inputs/ directory
        bash prepare_inputs.sh &&
        #if str($input.structure) == 'one_to_one':
            #set $compressed = $input.reads.is_of_type("fastq.gz", "fastqsanger.gz")
        #else:
            #set $compressed = next(iter($input.reads)).is_of_type("fastq.gz", "fastqsanger.gz")
        #end if

        artic guppyplex 
            --min-length $min_length 
            --max-length $max_length
        #if $min_quality == 0:
            --skip-quality-check
        #else:
            --quality $min_quality
        #end if
            --directory inputs/
            --output guppyplex_out.fastq
        #if $compressed:
            && gzip guppyplex_out.fastq
        #end if
    
    
None
False
Functional tests
name inputs outputs required files
Test-1 input|reads: test.fastq.gz
input|structure: one_to_one
name: value
test.fastq.gz
value
Test-2 input|reads: ['test.fastq.gz', 'test.fastq.gz']
input|structure: one_to_many
name: value
test.fastq.gz
value