Repository revision
1:464aee13e2df

Repository 'sequence_content_trimmer'
hg clone https://toolshed.g2.bx.psu.edu/repos/nick/sequence_content_trimmer

Sequence Content Trimmer tool metadata
Miscellaneous
trim reads based on certain bases
sequence_content_trimmer
toolshed.g2.bx.psu.edu/repos/nick/sequence_content_trimmer/sequence_content_trimmer/0.2.3
0.2.3
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/nick/sequence_content_trimmer/sequence_content_trimmer/0.2.3 (this tool)
toolshed.g2.bx.psu.edu/repos/nick/sequence_content_trimmer/sequence_content_trimmer/0.1
sequence_content_trimmer
Requirements (dependencies defined in the <requirements> tag set)
No requirements defined
Additional information about this tool
#if $paired.is_paired and (('fasta' in $input1.extension and 'fastq' in $input2.extension) or \
      ('fastq' in $input1.extension and 'fasta' in $input2.extension))
    echo 'Both input files must be either fastq or fasta (no mixing the two).' >&2
  #else
    python '$__tool_directory__/trimmer.py' '$input1'
    #if $paired.is_paired:
      '$input2' '$output1' '$output2'
    #end if
    #if $input1.extension in ('fastq', 'fastqsanger', 'fastqillumina', 'fastqsolexa')
      -f fastq
    #elif $input1.extension == 'fasta'
      -f fasta
    #else
      -f '$input1.extension'
    #end if
    -b '$bases' -t '$thres' -w '$win_len' $invert
    #if $min_len.has_min_len:
      -m '$min_len.value'
    #end if
    #if not $paired.is_paired:
      > '$output1'
    #end if
  #end if
  
  
None
False
Functional tests
No functional tests defined