# HG changeset patch # User iuc # Date 1630482362 0 # Node ID db95e63ac3fbf38adb2a0bd42a423c3ae3759335 # Parent 70a3a5377e6df50525f8c919c82b14ea1de485bb "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7" diff -r 70a3a5377e6d -r db95e63ac3fb mykrobe_genotype_LOCAL_216918.xml diff -r 70a3a5377e6d -r db95e63ac3fb mykrobe_predict.xml --- a/mykrobe_predict.xml Thu Aug 26 20:37:45 2021 +0000 +++ b/mykrobe_predict.xml Wed Sep 01 07:46:02 2021 +0000 @@ -1,5 +1,8 @@ Antibiotic resistance predictions + + Mykrobe + macro.xml diff -r 70a3a5377e6d -r db95e63ac3fb mykrobe_predict.xml.orig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mykrobe_predict.xml.orig Wed Sep 01 07:46:02 2021 +0000 @@ -0,0 +1,154 @@ +<<<<<<< HEAD + + Antibiotic resistance predictions +======= + + Antibiotic resistance predictions + + Mykrobe + +>>>>>>> 84b0f9990 (add bio.tools IDs until M) + + macro.xml + + +<<<<<<< HEAD + +>>>>>> 84b0f9990 (add bio.tools IDs until M) + +mykrobe predict +--species '${select_species.species}' +--panel '${select_species.panel}' + +#if $conf_percent_cutoff: + --conf_percent_cutoff '${conf_percent_cutoff}' +#end if + +#if $min_depth: + --min_depth ${min_depth} +#end if + +@shared_options@ + +-q +-t "\${GALAXY_SLOTS:-1}" + +#if $data_type.type in ["single", "paired"]: + #set read1 = $data_type.seq1 + #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.element_identifier)) + #if $data_type.type == "single": + --sample '${read1_identifier}' + --seq '${read1}' + #else: + #set read2 = $data_type.seq2 + #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.element_identifier)) + #set matches = difflib.SequenceMatcher(None, read1_identifier, read2_identifier).get_matching_blocks() + #set match = $matches[0] + #set identifier = re.sub('[^\s\w\-]', '_', str($read1_identifier[match.a:match.a + match.size])) + --sample '${identifier}' + --seq '${read1}' '${read2}' + #end if +#elif $data_type.type == "collection": + #set identifier = re.sub('[^\s\w\-]', '_', str($data_type.collection1.element_identifier)) + --sample '${identifier}' + --seq '${data_type.collection1.forward}' '${data_type.collection1.reverse}' +#end if + +--format '${format}' + +> '$output']]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ATTRIBUTION@ + + + +