# HG changeset patch # User cavelandiah # Date 1669586405 0 # Node ID 4394f98e705e54a7b56289f91599bd800572c5e3 "planemo upload for repository https://github.com/Bierinformatik/miRNAture/tree/galaxy_add/Galaxy/miRNAture commit 47a893683a9445abddce77c28f43d098b62cf385" diff -r 000000000000 -r 4394f98e705e create_dataset.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/create_dataset.sh Sun Nov 27 22:00:05 2022 +0000 @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +input=$1 + +dir=$2 +mkdir $dir/uncompress +cp $input $dir/uncompress/data.gz +Dir_name=`tar -tf $dir/uncompress/data.gz | head -1 | cut -f1 -d"/" | sort | uniq` +tar -xf $dir/uncompress/data.gz --directory $dir/uncompress/ +mv $dir/uncompress/${Dir_name} $dir/uncompress/Dataset diff -r 000000000000 -r 4394f98e705e generate_blast_folder.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/generate_blast_folder.sh Sun Nov 27 22:00:05 2022 +0000 @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +fasta_file=$1 +# Anolis_carolinensis.fa miRNA Anolis carolinensis +base_name=$(basename $fasta_file) +echo "$base_name miRNA Unknown specie" diff -r 000000000000 -r 4394f98e705e macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Sun Nov 27 22:00:05 2022 +0000 @@ -0,0 +1,24 @@ + + 1.1 + 0 + + + --cpu \$addthreads + + + + parallel + mirnature + + + + + + 10.3390/genes12030348 + + + + diff -r 000000000000 -r 4394f98e705e mirnature.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirnature.xml Sun Nov 27 22:00:05 2022 +0000 @@ -0,0 +1,257 @@ + + Computational detection of canonical microRNAs + + macros.xml + + + queries_description.txt && + mv queries_description.txt $__tool_directory__/queries_to_test/ && + #end if + + bash $__tool_directory__/create_dataset.sh '$dataset' '$__tool_directory__' && + + miRNAture + -stage '$stage' + #if $activate_subset.subset_models_des == 1: + -sublist '$subset_models' + #end if + -nbitscore_cut '$nbitscore' + -dataF $__tool_directory__/uncompress/Dataset/ + -specie_genome '$specie_genome' + -specie_name '$specie_name' + -specie_tag '$specie_tag' + -pe '$parallel_linux_select' + -workdir 'output/' + -m "${",".join(map(str, $homology_mode)) + ",final"}" + #if $blast_specific.blast_searches == 1: + #set $joined_str=",".join(map(str, $blast_specific.blast_strategy)) + #set $complete_str=($joined_str + ",ALL") + -strategy '$complete_str' + -blastq '$__tool_directory__/queries_to_test/' + #end if + -rep '$repeat_filter' > '$std_output' && + rm -rf $__tool_directory__/uncompress/ + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + stage == "homology" + + + + + + stage == "complete" + + + + + + + + + + + + + + + + + + + + + + + + + + + Path of blast query sequences in FASTA format to be searched + on the subject sequence. + + -dataF/-datadir + Path to pre-calculated data directory containing RFAM and + miRBase covariance, hidden markov models, and necessary + files to run MIRfix. + + -m/-mode + Homology search modes: blast, hmm, rfam, mirbase, and/or infernal. + It is possible to perform individual analysis, but in this Galaxy + version is always included the *final* option to merge multiple results. + + -rep/-repetition_cutoff + Setup number of maximum loci number that will be evaluated + by the mature's annotation stage. By default, miRNAture will + detect miRNA families that report high number of loci (> 200 + loci). Then, it will select the top 100 candidates in terms + of alignment scores, as candidates for the validation stage + (default,200,100). The designed values could be modified by + the following flag in the command line version: + 'relax,Number_Loci,Candidates_to_evaluate'. This option + allows to the user to select the threshold values to detect + repetitive families. The first parameter is , which + tells miRNAture to change the default configuration. The + next one, is the threshold of loci number to + classify a family as repetitive. The last one, + , is the number of candidates prone + to be evaluated in the next evaluation section. The rest + candidates are included as homology 'potential' candidates. + Selected option for this Galaxy version is set as: + . + + -str/-strategy <1,2,3,4,5,6,7,8,9,10> + This flag is blast mode specific. It corresponds to blast + strategies that would be used to search miRNAs. It must be + indicated along with -m *Blast* flag. + + -stg/-stage <'homology','no_homology','validation','evaluation','summarise','complete'> + Selects the stage to be run on miRNAture. The options are: + 'homology', 'no_homology', 'validation', 'evaluation', + 'summarise' or 'complete'. + + -speG/-specie_genome + Path of target sequences to be analyzed in FASTA format. + + -speN/-specie_name + Specie or sequence source's scientific name. The format must + be: *Genera_specie*, separated by '_'. + + -speT/-specie_tag + Experiment tag. Will help to identify the generated files + along miRNA output files. + + -sublist/-subset_models + Target list of CMs to be searched on subject + genome/sequences. If not indicated, miRNAture will run all + RFAM v14.4 metazoan miRNA models. + + -w/-workdir + Working directory path to write all miRNAture results. + +BUGS, CAVEATS, COMPLAINS or DONATIONS + Write directly to cristian at bioinf.uni-leipzig.de + + ]]> + + diff -r 000000000000 -r 4394f98e705e test-data/Dataset_mirnature_tutorial.tar.gz Binary file test-data/Dataset_mirnature_tutorial.tar.gz has changed diff -r 000000000000 -r 4394f98e705e test-data/fam.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/fam.txt Sun Nov 27 22:00:05 2022 +0000 @@ -0,0 +1,2 @@ +RF00027 +MIPF0000002 diff -r 000000000000 -r 4394f98e705e test-data/genome.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/genome.fasta Sun Nov 27 22:00:05 2022 +0000 @@ -0,0 +1,2 @@ +>scaf1 +TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTAGGTTGAGGTAGTAGGTTGTATAGTTTAGAATTACATCAAGGGAGATAACTGTACAGCCTCCTAGCTTTCCTGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG diff -r 000000000000 -r 4394f98e705e test-data/test.fasta --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test.fasta Sun Nov 27 22:00:05 2022 +0000 @@ -0,0 +1,2 @@ +>hsa-let-7a-2 MI0000061 +AGGTTGAGGTAGTAGGTTGTATAGTTTAGAATTACATCAAGGGAGATAACTGTACAGCCTCCTAGCTTTCCT