# HG changeset patch # User iuc # Date 1682332171 0 # Node ID 7563ea7a922dfaa1327c20a2716e047f94f6efb6 # Parent 3f987772e28346b10986a0b4fb2f3fafe8281220 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/repeatmasker commit 7a5f368a5859e659aa36d0358bb96ca12574e2cc diff -r 3f987772e283 -r 7563ea7a922d macros.xml --- a/macros.xml Thu Oct 21 15:49:31 2021 +0000 +++ b/macros.xml Mon Apr 24 10:29:31 2023 +0000 @@ -1,6 +1,6 @@ - 4.1.2-p1 - galaxy1 + 4.1.5 + galaxy0 topic_0157 diff -r 3f987772e283 -r 7563ea7a922d repeatmasker.xml.orig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/repeatmasker.xml.orig Mon Apr 24 10:29:31 2023 +0000 @@ -0,0 +1,260 @@ +<<<<<<< HEAD + + screen DNA sequences for interspersed repeats and low complexity regions + + macros.xml + + + + + repeatmasker --version + + screen DNA sequences for interspersed repeats and low complexity regions + + RepeatMasker + + + repeatmasker + + + >>>>>> c895e2728 (Update repeatmasker.xml) + RM_PATH=\$(which RepeatMasker) && + if [ -z "\$RM_PATH" ] ; then echo "Failed to find RepeatMasker in PATH (\$PATH)" >&2 ; exit 1 ; fi && + + RM_LIB_PATH=\$(dirname \$RM_PATH)/../share/RepeatMasker/Libraries && + #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} + ${advanced.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 + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + not advanced['is_only'] + + + not advanced['is_only'] + + + not advanced['is_only'] + + + + not advanced['is_only'] and advanced['keep_alignments'] + + + not advanced['is_only'] and advanced['poly'] + + + not advanced['is_only'] and gff is True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff -r 3f987772e283 -r 7563ea7a922d test-data/Dfam_partial_test.h5 Binary file test-data/Dfam_partial_test.h5 has changed diff -r 3f987772e283 -r 7563ea7a922d test-data/README.md --- a/test-data/README.md Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/README.md Mon Apr 24 10:29:31 2023 +0000 @@ -1,1 +1,4 @@ -Dfam_partial_test.h5 was generated from the test dataset in https://github.com/Dfam-consortium/FamDB/ (commit: 6b28b66) +Dfam_partial_test.h5 was generated from the test dataset in https://github.com/Dfam-consortium/FamDB/ (commit: 20c436d) + +`./export_dfam.py --from-tax-dump /path/to/taxonomy_dump/from_ncbi/ --from-hmm test_data/Dfam_partial.hmm --db-version 1.0 Dfam_partial_test.h5` + diff -r 3f987772e283 -r 7563ea7a922d test-data/small.fasta.cat --- a/test-data/small.fasta.cat Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small.fasta.cat Mon Apr 24 10:29:31 2023 +0000 @@ -98,6 +98,6 @@ ## Total Length: 14220 ## Total NonMask ( excluding >20bp runs of N/X bases ): 14220 ## Total NonSub ( excluding all non ACGT bases ):14220 -RepeatMasker version 4.1.2-p1 , default mode -run with rmblastn version 2.10.0+ +RepeatMasker version 4.1.5 , default mode +run with rmblastn version 2.13.0+ RM Library: diff -r 3f987772e283 -r 7563ea7a922d test-data/small.fasta.gff --- a/test-data/small.fasta.gff Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small.fasta.gff Mon Apr 24 10:29:31 2023 +0000 @@ -1,11 +1,10 @@ -##gff-version 2 -##date 2021-05-20 -##sequence-region rm_input.fasta -scaffold_1 RepeatMasker similarity 613 632 0.0 + . Target "Motif:(GT)n" 1 20 -scaffold_1 RepeatMasker similarity 780 824 18.3 + . Target "Motif:(ATAATA)n" 1 45 -scaffold_1 RepeatMasker similarity 2231 2274 23.9 + . Target "Motif:(CAGA)n" 1 46 -scaffold_1 RepeatMasker similarity 4853 4901 18.4 + . Target "Motif:(TC)n" 1 54 -scaffold_1 RepeatMasker similarity 6230 6284 19.1 + . Target "Motif:(TAATTAA)n" 1 52 -scaffold_1 RepeatMasker similarity 6548 6606 28.3 + . Target "Motif:(GACA)n" 1 57 -scaffold_1 RepeatMasker similarity 11981 12050 2.9 + . Target "Motif:(CT)n" 1 71 -scaffold_1 RepeatMasker similarity 12078 12113 15.4 + . Target "Motif:(CT)n" 1 37 +##gff-version 3 +##sequence-region scaffold_1 1 14220 +scaffold_1 RepeatMasker dispersed_repeat 613 632 0.0 + . ID=1;Target "Motif:(GT)n" 1 20 +scaffold_1 RepeatMasker dispersed_repeat 780 824 18.3 + . ID=2;Target "Motif:(ATAATA)n" 1 45 +scaffold_1 RepeatMasker dispersed_repeat 2231 2274 23.9 + . ID=3;Target "Motif:(CAGA)n" 1 46 +scaffold_1 RepeatMasker dispersed_repeat 4853 4901 18.4 + . ID=4;Target "Motif:(TC)n" 1 54 +scaffold_1 RepeatMasker dispersed_repeat 6230 6284 19.1 + . ID=5;Target "Motif:(TAATTAA)n" 1 52 +scaffold_1 RepeatMasker dispersed_repeat 6548 6606 28.3 + . ID=6;Target "Motif:(GACA)n" 1 57 +scaffold_1 RepeatMasker dispersed_repeat 11981 12050 2.9 + . ID=7;Target "Motif:(CT)n" 1 71 +scaffold_1 RepeatMasker dispersed_repeat 12078 12113 15.4 + . ID=8;Target "Motif:(CT)n" 1 37 diff -r 3f987772e283 -r 7563ea7a922d test-data/small.fasta.log --- a/test-data/small.fasta.log Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small.fasta.log Mon Apr 24 10:29:31 2023 +0000 @@ -1,4 +1,4 @@ -SW scoret% div.t% del.t% ins.tquery sequencetpos in query: begintendt(left)trepeattclass/familytpos in repeat: begintendt(left)tID +SW score % div. % del. % ins. query sequence pos in query: begin end (left) repeat class/family pos in repeat: begin end (left) ID 18 0.0 0.0 0.0 scaffold_1 613 632 (13588) (GT)n Simple_repeat 1 20 (0) 1 16 18.3 2.2 2.2 scaffold_1 780 824 (13396) (ATAATA)n Simple_repeat 1 45 (0) 2 diff -r 3f987772e283 -r 7563ea7a922d test-data/small.fasta.stats --- a/test-data/small.fasta.stats Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small.fasta.stats Mon Apr 24 10:29:31 2023 +0000 @@ -10,7 +10,7 @@ -------------------------------------------------- Retroelements 0 0 bp 0.00 % SINEs: 0 0 bp 0.00 % - Penelope 0 0 bp 0.00 % + Penelope: 0 0 bp 0.00 % LINEs: 0 0 bp 0.00 % CRE/SLACS 0 0 bp 0.00 % L2/CR1/Rex 0 0 bp 0.00 % @@ -28,7 +28,7 @@ hobo-Activator 0 0 bp 0.00 % Tc1-IS630-Pogo 0 0 bp 0.00 % En-Spm 0 0 bp 0.00 % - MuDR-IS905 0 0 bp 0.00 % + MULE-MuDR 0 0 bp 0.00 % PiggyBac 0 0 bp 0.00 % Tourist/Harbinger 0 0 bp 0.00 % Other (Mirage, 0 0 bp 0.00 % @@ -53,8 +53,8 @@ Runs of >=20 X/Ns in query were excluded in % calcs -RepeatMasker version 4.1.2-p1 , default mode - -run with rmblastn version 2.10.0+ -The query was compared to unclassified sequences in ".../dataset_a3b3078d-de09-4651-9e83-62019a3d45ba.dat" +RepeatMasker version 4.1.5 , default mode + +run with rmblastn version 2.13.0+ +The query was compared to unclassified sequences in ".../dataset_9e3ddbd2-0776-4c6d-bed6-0f4cd415796c.dat" FamDB: diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam.fasta.cat --- a/test-data/small_dfam.fasta.cat Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam.fasta.cat Mon Apr 24 10:29:31 2023 +0000 @@ -82,6 +82,7 @@ Matrix = 25p39g.matrix Kimura (with divCpGMod) = 29.45 +CpG sites = 10, Kimura (unadjusted) = 31.65 Transitions / transversions = 1.43 (10/7) Gap_init rate = 0.07 (5 / 70), avg. gap size = 1.00 (5 / 5) @@ -113,6 +114,6 @@ ## Total Length: 14220 ## Total NonMask ( excluding >20bp runs of N/X bases ): 14220 ## Total NonSub ( excluding all non ACGT bases ):14220 -RepeatMasker version 4.1.2-p1 , default mode -run with rmblastn version 2.10.0+ -RM Library: CONS-Dfam_3.3 +RepeatMasker version 4.1.5 , default mode +run with rmblastn version 2.13.0+ +RM Library: CONS-Dfam_3.7 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam.fasta.log --- a/test-data/small_dfam.fasta.log Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam.fasta.log Mon Apr 24 10:29:31 2023 +0000 @@ -1,4 +1,4 @@ -SW scoret% div.t% del.t% ins.tquery sequencetpos in query: begintendt(left)trepeattclass/familytpos in repeat: begintendt(left)tID +SW score % div. % del. % ins. query sequence pos in query: begin end (left) repeat class/family pos in repeat: begin end (left) ID 18 0.0 0.0 0.0 scaffold_1 613 632 (13588) (GT)n Simple_repeat 1 20 (0) 1 16 18.3 2.2 2.2 scaffold_1 780 824 (13396) (ATAATA)n Simple_repeat 1 45 (0) 2 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam.fasta.stats --- a/test-data/small_dfam.fasta.stats Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam.fasta.stats Mon Apr 24 10:29:31 2023 +0000 @@ -45,7 +45,7 @@ The query species was assumed to be human -RepeatMasker version 4.1.2-p1 , default mode - -run with rmblastn version 2.10.0+ -FamDB: CONS-Dfam_3.3 +RepeatMasker version 4.1.5 , default mode + +run with rmblastn version 2.13.0+ +FamDB: CONS-Dfam_3.7 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam_rattus.fasta.cat --- a/test-data/small_dfam_rattus.fasta.cat Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam_rattus.fasta.cat Mon Apr 24 10:29:31 2023 +0000 @@ -98,6 +98,6 @@ ## Total Length: 14220 ## Total NonMask ( excluding >20bp runs of N/X bases ): 14220 ## Total NonSub ( excluding all non ACGT bases ):14220 -RepeatMasker version 4.1.2-p1 , default mode -run with rmblastn version 2.10.0+ -RM Library: CONS-Dfam_3.3 +RepeatMasker version 4.1.5 , default mode +run with rmblastn version 2.13.0+ +RM Library: CONS-Dfam_3.7 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam_rattus.fasta.log --- a/test-data/small_dfam_rattus.fasta.log Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam_rattus.fasta.log Mon Apr 24 10:29:31 2023 +0000 @@ -1,4 +1,4 @@ -SW scoret% div.t% del.t% ins.tquery sequencetpos in query: begintendt(left)trepeattclass/familytpos in repeat: begintendt(left)tID +SW score % div. % del. % ins. query sequence pos in query: begin end (left) repeat class/family pos in repeat: begin end (left) ID 18 0.0 0.0 0.0 scaffold_1 613 632 (13588) (GT)n Simple_repeat 1 20 (0) 1 16 18.3 2.2 2.2 scaffold_1 780 824 (13396) (ATAATA)n Simple_repeat 1 45 (0) 2 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam_rattus.fasta.stats --- a/test-data/small_dfam_rattus.fasta.stats Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam_rattus.fasta.stats Mon Apr 24 10:29:31 2023 +0000 @@ -14,6 +14,7 @@ IDs 0 0 bp 0.00 % MIRs 0 0 bp 0.00 % + LINEs: 0 0 bp 0.00 % LINE1 0 0 bp 0.00 % LINE2 0 0 bp 0.00 % @@ -47,7 +48,7 @@ The query species was assumed to be rattus -RepeatMasker version 4.1.2-p1 , default mode - -run with rmblastn version 2.10.0+ -FamDB: CONS-Dfam_3.3 +RepeatMasker version 4.1.5 , default mode + +run with rmblastn version 2.13.0+ +FamDB: CONS-Dfam_3.7 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam_up.fasta.cat --- a/test-data/small_dfam_up.fasta.cat Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam_up.fasta.cat Mon Apr 24 10:29:31 2023 +0000 @@ -98,6 +98,6 @@ ## Total Length: 14220 ## Total NonMask ( excluding >20bp runs of N/X bases ): 14220 ## Total NonSub ( excluding all non ACGT bases ):14220 -RepeatMasker version 4.1.2-p1 , default mode -run with rmblastn version 2.10.0+ -RM Library: CONS-_ +RepeatMasker version 4.1.5 , default mode +run with rmblastn version 2.13.0+ +RM Library: CONS-Dfam_1.0 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam_up.fasta.log --- a/test-data/small_dfam_up.fasta.log Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam_up.fasta.log Mon Apr 24 10:29:31 2023 +0000 @@ -1,4 +1,4 @@ -SW scoret% div.t% del.t% ins.tquery sequencetpos in query: begintendt(left)trepeattclass/familytpos in repeat: begintendt(left)tID +SW score % div. % del. % ins. query sequence pos in query: begin end (left) repeat class/family pos in repeat: begin end (left) ID 18 0.0 0.0 0.0 scaffold_1 613 632 (13588) (GT)n Simple_repeat 1 20 (0) 1 16 18.3 2.2 2.2 scaffold_1 780 824 (13396) (ATAATA)n Simple_repeat 1 45 (0) 2 diff -r 3f987772e283 -r 7563ea7a922d test-data/small_dfam_up.fasta.stats --- a/test-data/small_dfam_up.fasta.stats Thu Oct 21 15:49:31 2021 +0000 +++ b/test-data/small_dfam_up.fasta.stats Mon Apr 24 10:29:31 2023 +0000 @@ -14,6 +14,7 @@ IDs 0 0 bp 0.00 % MIRs 0 0 bp 0.00 % + LINEs: 0 0 bp 0.00 % LINE1 0 0 bp 0.00 % LINE2 0 0 bp 0.00 % @@ -47,7 +48,7 @@ The query species was assumed to be rodent -RepeatMasker version 4.1.2-p1 , default mode - -run with rmblastn version 2.10.0+ -FamDB: CONS-_ +RepeatMasker version 4.1.5 , default mode + +run with rmblastn version 2.13.0+ +FamDB: CONS-Dfam_1.0