# HG changeset patch
# User iuc
# Date 1580312442 0
# Node ID bccf5ebe9b559d97e34aa1dfa4778169ef4b26db
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/biotradis commit 1c0a0f88149bf8863a89c58bace81e070b3adb5a"
diff -r 000000000000 -r bccf5ebe9b55 bacteria_tradis.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bacteria_tradis.xml Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,177 @@
+
+
+
+ macros.xml
+
+
+
+ file.txt &&
+ bacteria_tradis -v -f file.txt -r '${input_ref}'
+ #if str($map_parameters.map_options) == "modify":
+
+ #if str($map_parameters.set_kmers_options.set) == "yes":
+ --smalt_k '$map_parameters.set_kmers_options.kmer_length'
+ --smalt_s '$map_parameters.set_kmers_options.step_size'
+ #end if
+
+ --smalt_y '$map_parameters.min_percentage'
+ --smalt_r '$map_parameters.duplicate_reads'
+ -m '$map_parameters.min_quality'
+
+ #end if
+
+ #if str($tranposon_tag.use) == "yes":
+ -m '$tranposon_tag.nb_mismatches'
+ -t '$tranposon_tag.sequence'
+ #end if
+ 2>&1
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r bccf5ebe9b55 macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,14 @@
+
+
+ 1
+
+
+ biotradis
+
+
+
+
+ 10.1093/bioinformatics/btw022
+
+
+
diff -r 000000000000 -r bccf5ebe9b55 test-data/file.stats
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/file.stats Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,2 @@
+File,Total Reads,Reads Matched,% Matched,Reads Mapped,% Mapped,Unique Insertion Sites : CP009273.1:60-120,Seq Len/UIS : CP009273.1:60-120,Total Unique Insertion Sites,Total Seq Len/Total UIS
+tiny.fastq,804,804,100,367,45.6467661691542,27,2.25925925925926,27,2.25925925925926
diff -r 000000000000 -r bccf5ebe9b55 test-data/test.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.csv Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,27 @@
+locus_tag gene_name ncrna start end strand read_count ins_index gene_length ins_count fcn
+BW25113_0001 thrL 0 190 255 1 44 0.181818181818182 66 12 "thr operon leader peptide"
+BW25113_0002 thrA 0 337 2799 1 969 0.135200974421437 2463 333 "Bifunctional aspartokinase/homoserine dehydrogenase 1"
+BW25113_0003 thrB 0 2801 3733 1 423 0.170418006430868 933 159 "homoserine kinase"
+BW25113_0004 thrC 0 3734 5020 1 518 0.136752136752137 1287 176 "L-threonine synthase"
+BW25113_0005 yaaX 0 5234 5530 1 155 0.151515151515152 297 45 "DUF2502 family putative periplasmic protein"
+BW25113_0006 yaaA 0 5683 6459 -1 293 0.141570141570142 777 110 "peroxide resistance protein, lowers intracellular iron"
+BW25113_0007 yaaJ 0 6529 7959 -1 600 0.140461215932914 1431 201 "putative transporter"
+BW25113_0008 talB 0 8238 9191 1 492 0.161425576519916 954 154 "transaldolase B"
+BW25113_0009 mog 0 9306 9893 1 239 0.158163265306122 588 93 "molybdochelatase incorporating molybdenum into molybdopterin"
+BW25113_0010 satP 0 9928 10494 -1 306 0.194003527336861 567 110 "succinate-acetate transporter"
+BW25113_0011 yaaW 0 10643 11356 -1 245 0.138655462184874 714 99 "UPF0174 family protein"
+BW25113_0013 yaaI 0 11382 11786 -1 270 0.17037037037037 405 69 "UPF0412 family protein"
+BW25113_0014 dnaK 0 12163 14079 1 96 0.0276473656755347 1917 53 "chaperone Hsp70, with co-chaperone DnaJ"
+BW25113_0015 dnaJ 0 14168 15298 1 436 0.138815207780725 1131 157 "chaperone Hsp40, DnaK co-chaperone"
+BW25113_0016 insL1 0 15445 16557 1 333 0.153638814016173 1113 171 "IS186 transposase"
+BW25113_0018 mokC 0 16751 16960 -1 350 0.304761904761905 210 64 "regulatory protein for HokC, overlaps CDS of hokC"
+BW25113_4412 hokC 0 16751 16903 -1 107 0.196078431372549 153 30 "toxic membrane protein, small"
+BW25113_4413 sokC 0 16952 17006 1 124 0.4 55 22
+BW25113_0019 nhaA 0 17489 18655 1 498 0.162810625535561 1167 190 "sodium-proton antiporter"
+BW25113_0020 nhaR 0 18715 19620 1 473 0.183222958057395 906 166 "transcriptional activator of nhaA"
+BW25113_0021 insB1 0 19811 20314 -1 68 0.0615079365079365 504 31 "IS1 transposase B"
+BW25113_0022 insA 0 20233 20508 -1 30 0.0434782608695652 276 12 "IS1 repressor TnpA"
+BW25113_0023 rpsT 0 20815 21078 -1 1 0.00378787878787879 264 1 "30S ribosomal subunit protein S20"
+BW25113_0024 yaaY 0 21181 21399 1 32 0.0547945205479452 219 12 "uncharacterized protein"
+BW25113_0025 ribF 0 21407 22348 1 8 0.00318471337579618 942 3 "bifunctional riboflavin kinase/FAD synthetase"
+BW25113_0026 ileS 0 22391 25207 1 14 0.0035498757543486 2817 10 "isoleucyl-tRNA synthetase"
diff -r 000000000000 -r bccf5ebe9b55 test-data/test.csv.all.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.csv.all.csv Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,27 @@
+locus_tag,gene_name,ncrna,start,end,strand,read_count,ins_index,gene_length,ins_count,fcn
+BW25113_0001,thrL,0,190,255,1,44,0.181818181818182,66,12,thr operon leader peptide
+BW25113_0002,thrA,0,337,2799,1,969,0.135200974421437,2463,333,Bifunctional aspartokinase/homoserine dehydrogenase 1
+BW25113_0003,thrB,0,2801,3733,1,423,0.170418006430868,933,159,homoserine kinase
+BW25113_0004,thrC,0,3734,5020,1,518,0.136752136752137,1287,176,L-threonine synthase
+BW25113_0005,yaaX,0,5234,5530,1,155,0.151515151515152,297,45,DUF2502 family putative periplasmic protein
+BW25113_0006,yaaA,0,5683,6459,-1,293,0.141570141570142,777,110,peroxide resistance protein, lowers intracellular iron
+BW25113_0007,yaaJ,0,6529,7959,-1,600,0.140461215932914,1431,201,putative transporter
+BW25113_0008,talB,0,8238,9191,1,492,0.161425576519916,954,154,transaldolase B
+BW25113_0009,mog,0,9306,9893,1,239,0.158163265306122,588,93,molybdochelatase incorporating molybdenum into molybdopterin
+BW25113_0010,satP,0,9928,10494,-1,306,0.194003527336861,567,110,succinate-acetate transporter
+BW25113_0011,yaaW,0,10643,11356,-1,245,0.138655462184874,714,99,UPF0174 family protein
+BW25113_0013,yaaI,0,11382,11786,-1,270,0.17037037037037,405,69,UPF0412 family protein
+BW25113_0014,dnaK,0,12163,14079,1,96,0.0276473656755347,1917,53,chaperone Hsp70, with co-chaperone DnaJ
+BW25113_0015,dnaJ,0,14168,15298,1,436,0.138815207780725,1131,157,chaperone Hsp40, DnaK co-chaperone
+BW25113_0016,insL1,0,15445,16557,1,333,0.153638814016173,1113,171,IS186 transposase
+BW25113_0018,mokC,0,16751,16960,-1,350,0.304761904761905,210,64,regulatory protein for HokC, overlaps CDS of hokC
+BW25113_4412,hokC,0,16751,16903,-1,107,0.196078431372549,153,30,toxic membrane protein, small
+BW25113_4413,sokC,0,16952,17006,1,124,0.4,55,22,
+BW25113_0019,nhaA,0,17489,18655,1,498,0.162810625535561,1167,190,sodium-proton antiporter
+BW25113_0020,nhaR,0,18715,19620,1,473,0.183222958057395,906,166,transcriptional activator of nhaA
+BW25113_0021,insB1,0,19811,20314,-1,68,0.0615079365079365,504,31,IS1 transposase B
+BW25113_0022,insA,0,20233,20508,-1,30,0.0434782608695652,276,12,IS1 repressor TnpA
+BW25113_0023,rpsT,0,20815,21078,-1,1,0.00378787878787879,264,1,30S ribosomal subunit protein S20
+BW25113_0024,yaaY,0,21181,21399,1,32,0.0547945205479452,219,12,uncharacterized protein
+BW25113_0025,ribF,0,21407,22348,1,8,0.00318471337579618,942,3,bifunctional riboflavin kinase/FAD synthetase
+BW25113_0026,ileS,0,22391,25207,1,14,0.0035498757543486,2817,10,isoleucyl-tRNA synthetase
diff -r 000000000000 -r bccf5ebe9b55 test-data/test.csv.ambig.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.csv.ambig.csv Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,20 @@
+locus_tag,gene_name,ncrna,start,end,strand,read_count,ins_index,gene_length,ins_count,fcn
+BW25113_0001,thrL,0,190,255,1,44,0.181818181818182,66,12,thr operon leader peptide
+BW25113_0002,thrA,0,337,2799,1,969,0.135200974421437,2463,333,Bifunctional aspartokinase/homoserine dehydrogenase 1
+BW25113_0003,thrB,0,2801,3733,1,423,0.170418006430868,933,159,homoserine kinase
+BW25113_0004,thrC,0,3734,5020,1,518,0.136752136752137,1287,176,L-threonine synthase
+BW25113_0005,yaaX,0,5234,5530,1,155,0.151515151515152,297,45,DUF2502 family putative periplasmic protein
+BW25113_0006,yaaA,0,5683,6459,-1,293,0.141570141570142,777,110,peroxide resistance protein, lowers intracellular iron
+BW25113_0007,yaaJ,0,6529,7959,-1,600,0.140461215932914,1431,201,putative transporter
+BW25113_0008,talB,0,8238,9191,1,492,0.161425576519916,954,154,transaldolase B
+BW25113_0009,mog,0,9306,9893,1,239,0.158163265306122,588,93,molybdochelatase incorporating molybdenum into molybdopterin
+BW25113_0010,satP,0,9928,10494,-1,306,0.194003527336861,567,110,succinate-acetate transporter
+BW25113_0011,yaaW,0,10643,11356,-1,245,0.138655462184874,714,99,UPF0174 family protein
+BW25113_0013,yaaI,0,11382,11786,-1,270,0.17037037037037,405,69,UPF0412 family protein
+BW25113_0015,dnaJ,0,14168,15298,1,436,0.138815207780725,1131,157,chaperone Hsp40, DnaK co-chaperone
+BW25113_0016,insL1,0,15445,16557,1,333,0.153638814016173,1113,171,IS186 transposase
+BW25113_0018,mokC,0,16751,16960,-1,350,0.304761904761905,210,64,regulatory protein for HokC, overlaps CDS of hokC
+BW25113_4412,hokC,0,16751,16903,-1,107,0.196078431372549,153,30,toxic membrane protein, small
+BW25113_4413,sokC,0,16952,17006,1,124,0.4,55,22,
+BW25113_0019,nhaA,0,17489,18655,1,498,0.162810625535561,1167,190,sodium-proton antiporter
+BW25113_0020,nhaR,0,18715,19620,1,473,0.183222958057395,906,166,transcriptional activator of nhaA
diff -r 000000000000 -r bccf5ebe9b55 test-data/test.csv.essen.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test.csv.essen.csv Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,8 @@
+locus_tag,gene_name,ncrna,start,end,strand,read_count,ins_index,gene_length,ins_count,fcn
+BW25113_0014,dnaK,0,12163,14079,1,96,0.0276473656755347,1917,53,chaperone Hsp70, with co-chaperone DnaJ
+BW25113_0021,insB1,0,19811,20314,-1,68,0.0615079365079365,504,31,IS1 transposase B
+BW25113_0022,insA,0,20233,20508,-1,30,0.0434782608695652,276,12,IS1 repressor TnpA
+BW25113_0023,rpsT,0,20815,21078,-1,1,0.00378787878787879,264,1,30S ribosomal subunit protein S20
+BW25113_0024,yaaY,0,21181,21399,1,32,0.0547945205479452,219,12,uncharacterized protein
+BW25113_0025,ribF,0,21407,22348,1,8,0.00318471337579618,942,3,bifunctional riboflavin kinase/FAD synthetase
+BW25113_0026,ileS,0,22391,25207,1,14,0.0035498757543486,2817,10,isoleucyl-tRNA synthetase
diff -r 000000000000 -r bccf5ebe9b55 test-data/tiny.fastq.gz
Binary file test-data/tiny.fastq.gz has changed
diff -r 000000000000 -r bccf5ebe9b55 test-data/tiny.out.gz.CP009273.1_60_120.insert_site_plot.gz
Binary file test-data/tiny.out.gz.CP009273.1_60_120.insert_site_plot.gz has changed
diff -r 000000000000 -r bccf5ebe9b55 test-data/tiny.out.gz.CP009273.1_60_120.tradis_gene_insert_sites.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/tiny.out.gz.CP009273.1_60_120.tradis_gene_insert_sites.csv Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,2 @@
+locus_tag gene_name ncrna start end strand read_count ins_index gene_length ins_count fcn
+BW25113_0001 thrL 0 190 255 1 0 0 66 0 "thr operon leader peptide"
diff -r 000000000000 -r bccf5ebe9b55 test-data/tiny_1.out.gz.CP009273.1_60_120.insert_site_plot.gz
Binary file test-data/tiny_1.out.gz.CP009273.1_60_120.insert_site_plot.gz has changed
diff -r 000000000000 -r bccf5ebe9b55 test-data/tiny_ref.embl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/tiny_ref.embl Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,68 @@
+ID CP009273; SV 1; circular; genomic DNA; STD; PRO; 4631469 BP.
+XX
+AC CP009273;
+XX
+PR Project:PRJNA257976;
+XX
+DT 10-SEP-2014 (Rel. 122, Created)
+XX
+DE Escherichia coli BW25113, complete genome.
+XX
+KW .
+XX
+OS Escherichia coli BW25113
+OC Bacteria; Proteobacteria; Gammaproteobacteria; Enterobacterales;
+OC Enterobacteriaceae; Escherichia.
+XX
+RN [1]
+RP 1-4631469
+RA Grenier F., Matteau D., Baby V., Rodrigue S.;
+RT "Complete genome sequence of Escherichia coli BW25113";
+RL Unpublished.
+XX
+CC ##Genome-Assembly-Data-START##
+CC Assembly Method :: Newbler v. 2.6
+CC Reference-guided Assembly :: U00096.3
+CC Genome Coverage :: 100x
+CC Sequencing Technology :: Illumina HiSeq; Sanger
+CC ##Genome-Assembly-Data-END##
+XX
+FH Key Location/Qualifiers
+FH
+FT source 1..300
+FT /organism="Escherichia coli BW25113"
+FT /strain="K-12"
+FT /sub_strain="BW25113"
+FT /mol_type="genomic DNA"
+FT /country="USA:Indiana"
+FT /collection_date="2000"
+FT /note="from B. L. Wanner laboratory; genotype: rrnB3
+FT lacZ4787 hsdR514 (araBAD)567 (rhaBAD)568 rph-1"
+FT /db_xref="taxon:679895"
+FT /culture_collection="CGSC:7636"
+FT gene 190..255
+FT /gene="thrL"
+FT /gene_synonym="ECK0001"
+FT /gene_synonym="JW4367"
+FT /locus_tag="BW25113_0001"
+FT CDS 190..255
+FT /codon_start=1
+FT /transl_table=11
+FT /gene="thrL"
+FT /gene_synonym="ECK0001"
+FT /gene_synonym="JW4367"
+FT /locus_tag="BW25113_0001"
+FT /product="thr operon leader peptide"
+FT /function="leader; Amino acid biosynthesis: Threonine"
+FT /db_xref="EnsemblGenomes-Gn:BW25113_0001"
+FT /db_xref="EnsemblGenomes-Tr:AIN30539"
+FT /protein_id="AIN30539.1"
+FT /translation="MKRISTTITTTITITTGNGAG"
+XX
+SQ Sequence 4631469 BP; 1140509 A; 1177154 C; 1174646 G; 1139160 T; 0 other;
+ agcttttcat tctgactgca acgggcaata tgtctctgtg tggattaaaa aaagagtgtc 60
+ tgatagcagc ttctgaactg gttacctgcc gtgagtaaat taaaatttta ttgacttagg 120
+ tcactaaata ctttaaccaa tataggcata gcgcacagac agataaaaat tacagagtac 180
+ acaacatcca tgaaacgcat tagcaccacc attaccacca ccatcaccat taccacaggt 240
+ aacggtgcgg gctgacgcgt acaggaaaca cagaaaaaag cccgcacctg acagtgcggg 300
+//
diff -r 000000000000 -r bccf5ebe9b55 test-data/tiny_ref.fasta
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/tiny_ref.fasta Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,3 @@
+>CP009273.1:60-120
+CTGATAGCAGCTTCTGAACTGGTTACCTGCCGTGAGTAAATTAAAATTTTATTGACTTAG
+G
diff -r 000000000000 -r bccf5ebe9b55 tradis_essentiality.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tradis_essentiality.xml Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,81 @@
+
+
+
+ macros.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r bccf5ebe9b55 tradis_gene_insert_sites.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tradis_gene_insert_sites.xml Wed Jan 29 15:40:42 2020 +0000
@@ -0,0 +1,76 @@
+
+
+
+ macros.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+