# HG changeset patch # User gga # Date 1680534112 0 # Node ID f415e44e71dedabc72cf691dc318774554a4ce02 # Parent 22f22c3e81bfeb87e48f6bcf886cc19a8b0fd9a7 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/genenotebook commit a04f273adbc0ebb95bf42bf5bad8b41ba7aba91d diff -r 22f22c3e81bf -r f415e44e71de genenotebook_build.xml --- a/genenotebook_build.xml Wed Jan 11 11:49:13 2023 +0000 +++ b/genenotebook_build.xml Mon Apr 03 15:01:52 2023 +0000 @@ -9,12 +9,25 @@ @START_GNB@ #for genome in $genomes: - genenotebook add genome @CONNECT_INFO@ --name '${genome.name}' '${genome.genome}'; + genoboo add genome @CONNECT_INFO@ --name '${genome.name}' ${genome.public} '${genome.genome}'; #for annot in $genome.annots: - genenotebook add annotation @CONNECT_INFO@ --genome-name '${genome.name}' '${annot.annotation}'; + genoboo add annotation @CONNECT_INFO@ --name '${genome.name}' + #if $annot.prot_naming.method == 'regex' + #if $annot.prot_naming.re_protein: + --re_protein '$annot.prot_naming.re_protein' + #end if + #if $annot.prot_naming.re_protein_capture: + --re_protein_capture '$annot.prot_naming.re_protein_capture' + #end if + #elif $annot.prot_naming.method == "attr" + #if $annot.prot_naming.protein_id_attr: + --attr_protein '$annot.prot_naming.attr_protein' + #end if + #end if + '${annot.annotation}'; #if $annot.interproscan: - genenotebook add interproscan @CONNECT_INFO@ --format + genoboo add interproscan @CONNECT_INFO@ --format #if $annot.interproscan.is_of_type('gff3'): gff3 #else: @@ -24,8 +37,25 @@ #end if #if $annot.eggnog: - genenotebook add eggnog @CONNECT_INFO@ '${annot.eggnog}'; + genoboo add eggnog @CONNECT_INFO@ '${annot.eggnog}'; #end if + + #if $annot.blast_cond.blast_choice == "yes": + genoboo add blast @CONNECT_INFO@ + --format 'xml' + --algorithm '${annot.blast_cond.algorithm}' + --matrix '${annot.blast_cond.matrix}' + --database '${annot.blast_cond.database}' + '${annot.blast_cond.blast}'; + #end if + + #for exp in $annot.expression: + genoboo add transcriptome @CONNECT_INFO@ + --sample-name '${exp.sample_name}' + --replica-group '${exp.replica_group}' + --sample-description '${exp.sample_description}' + '${exp.counts}'; + #end for #end for #end for @@ -36,10 +66,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -59,6 +130,17 @@ + + + + + + + + + + + @@ -68,7 +150,7 @@ - + @@ -83,7 +165,7 @@ - + @@ -111,9 +193,46 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -121,6 +240,8 @@ Build a GeneNoteBook by loading data into a MongoDB database. The resulting dataset can then be displayed with the "View a GeneNoteBook" interactive tool (to be written). The resulting GeneNoteBook will contain the default user accounts created on the first launch. You are responsible to change them if you ever want to put your result online. + +The current version is based on a forked version of GeneNoteBook including several various improvements (https://github.com/gogepp/genoboo/). ]]> diff -r 22f22c3e81bf -r f415e44e71de launch_gnb.sh --- a/launch_gnb.sh Wed Jan 11 11:49:13 2023 +0000 +++ b/launch_gnb.sh Mon Apr 03 15:01:52 2023 +0000 @@ -4,10 +4,8 @@ mongod --dbpath ./mongo_db/ --unixSocketPrefix `pwd` --bind_ip fake_socket --logpath ./mongod.log --pidfilepath ./mongo.pid & -sleep 5 +sleep 8 -# "waiting for connections on port" is for mongodb 4x -#if ! grep -q "waiting for connections on port" ./mongod.log; then # "Listening on" is for mongodb 5x if ! grep -q "Listening on" ./mongod.log; then echo "Failed to launch MongoDB:" 1>&2; @@ -19,7 +17,7 @@ TMP_STORAGE=$(pwd)/tmp_storage mkdir "$TMP_STORAGE" -genenotebook run --storage-path "$TMP_STORAGE" --port ${GNB_PORT} --mongo-url mongodb://$MONGO_URI%2Fmongodb-27017.sock/genenotebook > ./gnb.log 2>&1 & +genoboo run --storage-path "$TMP_STORAGE" --port ${GNB_PORT} --mongo-url mongodb://$MONGO_URI%2Fmongodb-27017.sock/genenotebook > ./gnb.log 2>&1 & export GNB_PID=$! diff -r 22f22c3e81bf -r f415e44e71de macros.xml --- a/macros.xml Wed Jan 11 11:49:13 2023 +0000 +++ b/macros.xml Mon Apr 03 15:01:52 2023 +0000 @@ -2,12 +2,12 @@ - genenotebook + genoboo - 0.3.2 + 0.4.1 @TOOL_VERSION@+galaxy0 @@ -16,6 +16,19 @@ + + + + + + + + + + + + + -u admin -p admin --port \$GNB_PORT + + + blastp + diamond 2.0.13 + Benjamin Buchfink, Xie Chao, and Daniel Huson (2015), "Fast and sensitive protein alignment using DIAMOND", Nature Methods 12:59-60. + /db/nr/NR_2021-6-16/diamond/nr.dmnd + Query_1 + MMUCEDO_000001-P1 + 420 + + + blosum62 + 1e-08 + 11 + 1 + F + + + + + 1 + Query_1 + MMUCEDO_000001-P1 + 226 + + + 1 + KAG2309741.1 + hypothetical protein Bca52824_029489 [Brassica carinata] + KAG2309741 + 226 + + + 1 + 803 + 2075 + 7.84e-293 + 1 + 420 + 1 + 420 + 0 + 0 + 417 + 418 + 0 + 226 + MASELTYRRHEMEQAEGRALYRKPMKPIRYMLREQRLVFVLVGIAIATFAFTLFSPSSTTQPIPISYYSDPEMRSYMSGGIGSVGGKIPLGLKRKGLRVVVTXXXXXXXXXLVDRLMARGDKVIVVDNFFTGSKENVMHHFGNPNFELIRHDVVEPILLEVDHIYHLACPASPVHYKFNPVKTIKTNVVGTLNMLGLAKRVGARFLLTSTSEVYGDPLQHPQLET + MASELTYRRHEMEQAEGRALYRKPMKPIRYMLREQRLVFVLVGIAIATLAFTLFSPSSTTQPIPISYYSDPEMRSYMSGGMGSVGGKIPLGLKRKGLRVVVTXXXXXXXXXLVDRLMARGDKVIVVDNFFTGSKENVMHHFGNPNFELIRHDVVEPILLEVDHIYHLACPASPVHYKFNPVKTIKTNVVGTLNMLGLAKRVGARFLLTSTSEVYGDPLQHPQLET + MASELTYRRHEMEQAEGRALYRKPMKPIRYMLREQRLVFVLVGIAIAT AFTLFSPSSTTQPIPISYYSDPEMRSYMSGG+GSVGGKIPLGLKRKGLRVVVTXXXXXXXXXLVDRLMARGDKVIVVDNFFTGSKENVMHHFGNPNFELIRHDVVEPILLEVDHIYHLACPASPVHYKFNPVKTIKTNVVGTLNMLGLAKRVGARFLLTSTSEVYGDPLQHPQLET + + + + + + + 405733372 + 147630876712 + 0 + 0 + 0.041000 + 0.267000 + 0 + + + + + diff -r 22f22c3e81bf -r f415e44e71de test-data/exp.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/exp.tsv Mon Apr 03 15:01:52 2023 +0000 @@ -0,0 +1,2 @@ +target_id length eff_length est_counts tpm +MMUCEDO_000001-T1 1221 1021.99 21 1.80368 diff -r 22f22c3e81bf -r f415e44e71de test-data/output/genome.tar.bz2 Binary file test-data/output/genome.tar.bz2 has changed diff -r 22f22c3e81bf -r f415e44e71de test-data/output/genome_annot.tar.bz2 Binary file test-data/output/genome_annot.tar.bz2 has changed diff -r 22f22c3e81bf -r f415e44e71de test-data/output/genome_annot_ips.tar.bz2 Binary file test-data/output/genome_annot_ips.tar.bz2 has changed diff -r 22f22c3e81bf -r f415e44e71de test-data/output/genome_annot_ips_en.tar.bz2 Binary file test-data/output/genome_annot_ips_en.tar.bz2 has changed diff -r 22f22c3e81bf -r f415e44e71de test-data/output/genome_annot_ips_en_bl_exp.tar.bz2 Binary file test-data/output/genome_annot_ips_en_bl_exp.tar.bz2 has changed