Repository revision
15:ba6d2c32f797

Repository 'repeat_masker'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker

RepeatMasker tool metadata
Miscellaneous
RepeatMasker
screen DNA sequences for interspersed repeats and low complexity regions
repeatmasker_wrapper
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.1.5+galaxy0
4.1.5+galaxy0
repeatmasker --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.1.5+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.1.2-p1+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.1.2-p1+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.1.1
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.0.9
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.0.7+galaxy2
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.0.7+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/4.0.7
toolshed.g2.bx.psu.edu/repos/bgruening/repeat_masker/repeatmasker_wrapper/0.1.2
repeatmasker_wrapper
Requirements (dependencies defined in the <requirements> tag set)
name version type
repeatmasker 4.1.5 package
Additional information about this tool
RM_PATH=\$(which RepeatMasker) &&
    if [ -z "\$RM_PATH" ] ; then echo "Failed to find RepeatMasker in PATH (\$PATH)" >&2 ; exit 1 ; fi &&

    if [ -z "\$RM_LIB_PATH" ] ; then RM_LIB_PATH=\$(dirname \$RM_PATH)/../share/RepeatMasker/Libraries ; fi &&
    #if $repeat_source.source_type == "dfam_up":
      mkdir lib/ &&
      ln -s '${repeat_source.dfam_lib}' lib/RepeatMaskerLib.h5 &&
      RM_LIB_PATH=\$(pwd)/lib &&
    #end if

    ln -s '${input_fasta}' rm_input.fasta &&

    RepeatMasker -dir \$(pwd)
    -libdir \$RM_LIB_PATH
    #if $repeat_source.source_type == "library":
      -lib '${repeat_source.repeat_lib}'
      -cutoff '${repeat_source.cutoff}'
    #else if $repeat_source.source_type == "dfam":
      #if $repeat_source.species_source.species_from_list == 'yes':
        -species $repeat_source.species_source.species_list
      #else
        -species '${repeat_source.species_source.species_name}'
      #end if
    #else if $repeat_source.source_type == "dfam_up":
        -species '${repeat_source.species_name}'
    #end if
    -parallel \${GALAXY_SLOTS:-1}
    ${gff}
    ${excln}
    ${advanced.is_only}
    ${advanced.is_clip}
    ${advanced.no_is}
    ${advanced.rodspec}
    ${advanced.primspec}
    ${advanced.nolow}
    ${advanced.noint}
    ${advanced.norna}
    ${advanced.alu}
    ${advanced.div}
    ${advanced.search_speed}
    -frag ${advanced.frag}
    ## -maxsize ${advanced.maxsize}
    #if str($advanced.gc):
      -gc ${advanced.gc}
    #end if
    ${advanced.gccalc}
    ${advanced.nocut}
    ${advanced.keep_alignments}
    ${advanced.invert_alignments}
    ${advanced.xout}
    ${xsmall}
    ${advanced.poly}
    rm_input.fasta &&
    #if $advanced.is_only != '-is_only':
      mv rm_input.fasta.masked '${output_masked_genome}' &&
      sed -E 's/^ *// ; s/ *$//; s/\+ //; s/ +/\t/g ;  1,2c SW score\t% div.\t% del.\t% ins.\tquery sequence\tpos in  query: begin\tend\t(left)\trepeat\tclass/family\tpos in repeat: begin\tend\t(left)\tID' rm_input.fasta.out >'${output_log}' &&
      mv rm_input.fasta.tbl '${output_table}' &&
      #if $gff == '-gff':
        mv rm_input.fasta.out.gff '${output_gff}' &&
      #end if
      #if $advanced.keep_alignments == '-ali':
        mv rm_input.fasta.align '${output_alignment}' &&
      #end if
      #if $advanced.poly == '-poly':
        sed -E 's/^ *// ; s/ *$//; s/\+ //; s/ +/\t/g' rm_input.fasta.polyout >'${output_polymorphic}' &&
      #end if
    #end if
    if [ -f 'rm_input.fasta.cat.gz' ]; then
      zcat 'rm_input.fasta.cat.gz' > '${output_repeat_catalog}';
    else
      mv rm_input.fasta.cat '${output_repeat_catalog}';
    fi
    
  
None
False
Functional tests
name inputs outputs required files
Test-1 input_fasta: small.fasta
repeat_source|repeat_lib: repeats.fasta
repeat_source|source_type: library
name: value
name: value
name: value
name: value
small.fasta
repeats.fasta
value
Test-2 input_fasta: small.fasta
repeat_source|repeat_lib: repeats.fasta
repeat_source|source_type: library
gff: True
advanced|keep_alignments: True
advanced|poly: True
name: value
name: value
name: value
name: value
name: value
name: value
name: value
small.fasta
repeats.fasta
value
Test-3 input_fasta: small.fasta
repeat_source|species_source|species_list: human
repeat_source|source_type: dfam
name: value
name: value
name: value
name: value
small.fasta
value
Test-4 input_fasta: small.fasta
repeat_source|dfam_lib: Dfam_partial_test.h5
repeat_source|species_name: rodent
repeat_source|source_type: dfam_up
name: value
name: value
name: value
name: value
small.fasta
Dfam_partial_test.h5
value
Test-5 input_fasta: small.fasta
repeat_source|species_source|species_list: rattus
repeat_source|source_type: dfam
name: value
name: value
name: value
name: value
small.fasta
value