-
Notifications
You must be signed in to change notification settings - Fork 517
Add deacon and deacon DM #7473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SantaMcCloud
wants to merge
45
commits into
galaxyproject:main
Choose a base branch
from
SantaMcCloud:add_deacon
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add deacon and deacon DM #7473
Changes from 44 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
130daa1
Add deacon
SantaMcCloud 0e1bba1
add .shed files
SantaMcCloud 438cb98
typo
SantaMcCloud aae6216
fix some tests
SantaMcCloud 6e9014f
change one test file
SantaMcCloud 4e11579
little changes
SantaMcCloud 8474b57
little changes
SantaMcCloud a7fc57f
typos
SantaMcCloud 19ddd38
add deacon build into dm
SantaMcCloud f0ca31f
add dash to value for dm
SantaMcCloud 18b9283
typo
SantaMcCloud 8eff8c0
shorter desc in deacon_filter
SantaMcCloud 57dfe9b
change unneeded double to single qoutes
SantaMcCloud 142e8e3
change fastq to sanger/illumina
SantaMcCloud 42ee2f2
change to paired collection input
SantaMcCloud 6288d4e
change test data format
SantaMcCloud 3c9a09d
split index into multiple wrappers
SantaMcCloud 3a31713
review changes
SantaMcCloud f423773
update profile version
SantaMcCloud 3e6211d
update profile version
SantaMcCloud 611231d
Update deacon_datamanager.xml
SantaMcCloud 706d055
Update macros.xml
SantaMcCloud 47c77c3
Update deacon_filter.xml
SantaMcCloud 48885c5
add url check and checksum check
SantaMcCloud 2d1c01c
Merge branch 'add_deacon' of https://github.com/SantaMcCloud/tools-iu…
SantaMcCloud e7f2493
change checksum check
SantaMcCloud ff4bc00
Update deacon_datamanager.xml
SantaMcCloud e6b81ad
Update deacon_datamanager.xml
SantaMcCloud 054265a
change wget to curl
SantaMcCloud 8ad8fc4
Update deacon_datamanager.xml
SantaMcCloud 1963c70
add packages
SantaMcCloud 082d276
fix test
SantaMcCloud 8ea49d5
use zenodo_get
SantaMcCloud 082bde1
fix linting
SantaMcCloud 2907580
remove format version param
SantaMcCloud dc38c66
fix some wording
SantaMcCloud 68c1977
remove md5sum command
SantaMcCloud c2dc2dd
add some new requiremnt
SantaMcCloud 6c66baf
change file naming in filter.xml
SantaMcCloud 6c42b02
remove url option
SantaMcCloud 2cbc608
set up selection from other DM
SantaMcCloud 71cd4f7
change some command in deacon commands
SantaMcCloud cb4b14b
fix test
SantaMcCloud 56c409f
finalize DM
SantaMcCloud 27d09cf
Update deacon_datamanager.xml
SantaMcCloud File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| categories: | ||
| - Data Managers | ||
| - Metagenomics | ||
| homepage_url: https://github.com/bede/deacon | ||
| description: Data manager for Deacon index files | ||
| long_description: Data manager for Deacon index files | ||
| name: deacon_build_database | ||
| owner: iuc | ||
| remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/main/data_managers/data_manager_deacon | ||
| type: unrestricted |
142 changes: 142 additions & 0 deletions
142
data_managers/data_manager_deacon/data_manager/deacon_datamanager.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,142 @@ | ||
| <tool id="deacon_build_database" name="Deacon" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | ||
| <description>database builder</description> | ||
| <macros> | ||
| <!-- on update run a local test setting `test` to something else than "true" --> | ||
| <token name="@TOOL_VERSION@">0.12.0</token> | ||
| <token name="@VERSION_SUFFIX@">0</token> | ||
| <token name="@PROFILE@">26.0</token> | ||
| </macros> | ||
| <requirements> | ||
| <requirement type="package" version="@TOOL_VERSION@">deacon</requirement> | ||
| <requirement type="package" version="1.6.1">zenodo_get</requirement> | ||
| <requirement type="package" version="1.25.0">wget</requirement> | ||
| <requirement type="package" version="8.21.0">curl</requirement> | ||
| </requirements> | ||
| <command detect_errors="exit_code"><![CDATA[ | ||
| mkdir -p '$out_file.extra_files_path' && | ||
| #if $test != "true" | ||
| #if $input.is_select == "prebuilt" | ||
| #if $download == "human" | ||
| zenodo_get 17288185 -m -g "*.idx" -o '$out_file.extra_files_path' && | ||
| #else | ||
| zenodo_get 17699167 -m -g "*.idx" -o '$out_file.extra_files_path' && | ||
| #end if | ||
| #else | ||
| deacon index build '$input.from_dm.fields.path' -o '${str($input.from_dm.fields.path).split('/')[-1]}.idx' && | ||
| mv '${str($input.from_dm.fields.path).split('/')[-1]}.idx' '$out_file.extra_files_path' && | ||
| #end if | ||
| #else | ||
| touch '$out_file.extra_files_path'/test.idx && | ||
| #end if | ||
| cp '$dmjson' '$out_file' | ||
| ]]></command> | ||
| <configfiles> | ||
| <configfile name="dmjson"><![CDATA[ | ||
| #from datetime import datetime | ||
| #set time=datetime.now().strftime("%Y-%m-%d") | ||
| { | ||
| "data_tables":{ | ||
| "deacon":[ | ||
| { | ||
| #if $input.is_select == "prebuilt" | ||
| #if $download == "human" | ||
| "path":"panhuman-1.k31w15.idx", | ||
| #else | ||
| "path":"panmouse-1.k31w15.idx", | ||
| #end if, | ||
| #else | ||
| "path":"${str($input.from_dm.fields.path).split('/')[-1]}.idx", | ||
| #end if | ||
| "dbkey":"", | ||
| #if $input.is_select == "prebuilt" | ||
| #if $download == "human" | ||
| "name":"panhuman-1 (k=31, w=15)", | ||
| #else | ||
| "name":"panmouse-1 (k=31, w=15, e=0.5)", | ||
| #end if | ||
| #else | ||
| "name":"${str($input.from_dm.fields.path).split('/')[-1]} (k=31, w=15)", | ||
| #end if | ||
| #if $input.is_select == "prebuilt" | ||
| "version":"@TOOL_VERSION@", | ||
| #else | ||
| "version":"@TOOL_VERSION@", | ||
| #end if | ||
| #if $input.is_select == "prebuilt" | ||
| "value":"prebuilt-${time}", | ||
| #else | ||
| "value":"custom-${time}", | ||
| #end if | ||
| "format_version":"3", | ||
| #if $input.is_select == "prebuilt" | ||
| "note":"Prebuilt index files from the devs of deacon" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
| #else | ||
| "note":"Build from fasta file ${str($input.from_dm.fields.path).split('/')[-1]}" | ||
| #end if | ||
| } | ||
| ] | ||
| } | ||
| }]]> | ||
| </configfile> | ||
| </configfiles> | ||
| <inputs> | ||
| <conditional name="input"> | ||
| <param name="is_select" type="select" label="Choose how to add data to the DM"> | ||
| <option value="prebuilt" selected="true">Download a prebuilt file</option> | ||
| <option value="fastx">Build index file from downloaded fasta files</option> | ||
| </param> | ||
| <when value="prebuilt"> | ||
| <param name="download" type="select" label="Select which prebuilt should be downloaded" help="See help section for more information"> | ||
| <option value="human">panhuman-1 (k=31, w=15)</option> | ||
| <option value="mouse">panmouse-1 (k=31, w=15, e=0.5)</option> | ||
| </param> | ||
| </when> | ||
| <when value="fastx"> | ||
| <param name="from_dm" type="select" label="Select fasta file from DM"> | ||
| <options from_data_table="all_fasta"> | ||
| <filter column="2" type="sort_by" /> | ||
| <validator message="No genomes are available for the selected input dataset" type="no_options" /> | ||
| </options> | ||
| </param> | ||
| </when> | ||
| </conditional> | ||
| <param name="test" type="hidden"/> | ||
| </inputs> | ||
| <outputs> | ||
| <data name="out_file" format="data_manager_json" /> | ||
| </outputs> | ||
| <tests> | ||
| <test expect_num_outputs="1"> | ||
| <conditional name="input"> | ||
| <param name="is_select" value="fastx"/> | ||
| <param name="from_dm" value="phiX174"/> | ||
| </conditional> | ||
| <param name="test" value="fasle"></param> | ||
| <output name="out_file"> | ||
| <assert_contents> | ||
| <has_text text='"format_version":"3"'/> | ||
| <has_text text='"name":"phiX174.fasta (k=31, w=15)"'/> | ||
| </assert_contents> | ||
| </output> | ||
| </test> | ||
| <test expect_num_outputs="1"> | ||
| <conditional name="input"> | ||
| <param name="is_select" value="prebuilt"/> | ||
| <param name="download" value="human"/> | ||
| </conditional> | ||
| <param name="test" value="true"/> | ||
| <output name="out_file"> | ||
| <assert_contents> | ||
| <has_text text='"format_version":"3"'/> | ||
| <has_text text='"name":"panhuman-1 (k=31, w=15)"'/> | ||
| </assert_contents> | ||
| </output> | ||
| </test> | ||
| </tests> | ||
| <help><![CDATA[ | ||
| Download prebuilt index files for deacon or download other index files made for deacon via url. | ||
| ]]></help> | ||
| <citations> | ||
| <citation type="doi">10.1101/2025.06.09.658732</citation> | ||
| </citations> | ||
| </tool> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <data_managers> | ||
| <data_manager tool_file="data_manager/deacon_datamanager.xml" id="deacon_build_database"> | ||
| <data_table name="deacon"> | ||
| <output> | ||
| <column name="value"/> | ||
| <column name="dbkey"/> | ||
| <column name="name"/> | ||
| <column name="version"/> | ||
| <column name="path" output_ref="out_file"> | ||
| <move type="file"> | ||
| <source>${path}</source> | ||
| <target base="${GALAXY_DATA_MANAGER_DATA_PATH}">deacon/${value}/${path}</target> | ||
| </move> | ||
| <value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/deacon/${value}/${path}</value_translation> | ||
| <value_translation type="function">abspath</value_translation> | ||
| </column> | ||
| <column name="format_version"/> | ||
| <column name="note"/> | ||
| </output> | ||
| </data_table> | ||
| </data_manager> | ||
| </data_managers> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #This file lists the locations and dbkeys of all the fasta files | ||
| #under the "genome" directory (a directory that contains a directory | ||
| #for each build). The script extract_fasta.py will generate the file | ||
| #all_fasta.loc. This file has the format (white space characters are | ||
| #TAB characters): | ||
| # | ||
| #<unique_build_id> <dbkey> <display_name> <file_path> | ||
| # | ||
| #So, all_fasta.loc could look something like this: | ||
| # | ||
| #apiMel3 apiMel3 Honeybee (Apis mellifera): apiMel3 /path/to/genome/apiMel3/apiMel3.fa | ||
| #hg19canon hg19 Human (Homo sapiens): hg19 Canonical /path/to/genome/hg19/hg19canon.fa | ||
| #hg19full hg19 Human (Homo sapiens): hg19 Full /path/to/genome/hg19/hg19full.fa | ||
| # | ||
| #Your all_fasta.loc file should contain an entry for each individual | ||
| #fasta file. So there will be multiple fasta files for each build, | ||
| #such as with hg19 above. | ||
| # | ||
| phiX174 phiX174 phiX174 ${__HERE__}/phiX174.fasta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| db_download_xxxx-xx-xx deacon human index db 0.12.0 /tmp/tmpf_hplx2a/galaxy-dev/tool-data/deacon/0.12.0/test.idx 3 Testing | ||
| custom-2026-07-09 phiX174.fasta (k=31, w=15) 0.12.0 /mnt/d/arbeit/galaxy/tool-data/deacon/custom-2026-07-09/phiX174.fasta.idx 3 Build from fasta file phiX174.fasta | ||
| prebuilt-2026-07-09 panhuman-1 (k=31, w=15) 0.12.0 /mnt/d/arbeit/galaxy/tool-data/deacon/prebuilt-2026-07-09/panhuman-1.k31w15.idx 3 Prebuilt index files from the devs of deacon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| >phiX174 | ||
| GAGTTTTATCGCTTCCATGACGCAGAAGTTAACACTTTCGGATATTTCTGATGAGTCGAAAAATTATCTT | ||
| GATAAAGCAGGAATTACTACTGCTTGTTTACGAATTAAATCGAAGTGGACTGCTGGCGGAAAATGAGAAA | ||
| ATTCGACCTATCCTTGCGCAGCTCGAGAAGCTCTTACTTTGCGACCTTTCGCCATCAACTAACGATTCTG | ||
| TCAAAAACTGACGCGTTGGATGAGGAGAAGTGGCTTAATATGCTTGGCACGTTCGTCAAGGACTGGTTTA | ||
| GATATGAGTCACATTTTGTTCATGGTAGAGATTCTCTTGTTGACATTTTAAAAGAGCGTGGATTACTATC | ||
| TGAGTCCGATGCTGTTCAACCACTAATAGGTAAGAAATCATGAGTCAAGTTACTGAACAATCCGTACGTT | ||
| TCCAGACCGCTTTGGCCTCTATTAAGCTCATTCAGGCTTCTGCCGTTTTGGATTTAACCGAAGATGATTT | ||
| CGATTTTCTGACGAGTAACAAAGTTTGGATTGCTACTGACCGCTCTCGTGCTCGTCGCTGCGTTGAGGCT | ||
| TGCGTTTATGGTACGCTGGACTTTGTGGGATACCCTCGCTTTCCTGCTCCTGTTGAGTTTATTGCTGCCG | ||
| TCATTGCTTATTATGTTCATCCCGTCAACATTCAAACGGCCTGTCTCATCATGGAAGGCGCTGAATTTAC | ||
| GGAAAACATTATTAATGGCGTCGAGCGTCCGGTTAAAGCCGCTGAATTGTTCGCGTTTACCTTGCGTGTA | ||
| CGCGCAGGAAACACTGACGTTCTTACTGACGCAGAAGAAAACGTGCGTCAAAAATTACGTGCAGAAGGAG | ||
| TGATGTAATGTCTAAAGGTAAAAAACGTTCTGGCGCTCGCCCTGGTCGTCCGCAGCCGTTGCGAGGTACT | ||
| AAAGGCAAGCGTAAAGGCGCTCGTCTTTGGTATGTAGGTGGTCAACAATTTTAATTGCAGGGGCTTCGGC | ||
| CCCTTACTTGAGGATAAATTATGTCTAATATTCAAACTGGCGCCGAGCGTATGCCGCATGACCTTTCCCA | ||
| TCTTGGCTTCCTTGCTGGTCAGATTGGTCGTCTTATTACCATTTCAACTACTCCGGTTATCGCTGGCGAC | ||
| TCCTTCGAGATGGACGCCGTTGGCGCTCTCCGTCTTTCTCCATTGCGTCGTGGCCTTGCTATTGACTCTA | ||
| CTGTAGACATTTTTACTTTTTATGTCCCTCATCGTCACGTTTATGGTGAACAGTGGATTAAGTTCATGAA | ||
| GGATGGTGTTAATGCCACTCCTCTCCCGACTGTTAACACTACTGGTTATATTGACCATGCCGCTTTTCTT | ||
| GGCACGATTAACCCTGATACCAATAAAATCCCTAAGCATTTGTTTCAGGGTTATTTGAATATCTATAACA | ||
| ACTATTTTAAAGCGCCGTGGATGCCTGACCGTACCGAGGCTAACCCTAATGAGCTTAATCAAGATGATGC | ||
| TCGTTATGGTTTCCGTTGCTGCCATCTCAAAAACATTTGGACTGCTCCGCTTCCTCCTGAGACTGAGCTT | ||
| TCTCGCCAAATGACGACTTCTACCACATCTATTGACATTATGGGTCTGCAAGCTGCTTATGCTAATTTGC | ||
| ATACTGACCAAGAACGTGATTACTTCATGCAGCGTTACCGTGATGTTATTTCTTCATTTGGAGGTAAAAC | ||
| CTCTTATGACGCTGACAACCGTCCTTTACTTGTCATGCGCTCTAATCTCTGGGCATCTGGCTATGATGTT | ||
| GATGGAACTGACCAAACGTCGTTAGGCCAGTTTTCTGGTCGTGTTCAACAGACCTATAAACATTCTGTGC | ||
| CGCGTTTCTTTGTTCCTGAGCATGGCACTATGTTTACTCTTGCGCTTGTTCGTTTTCCGCCTACTGCGAC | ||
| TAAAGAGATTCAGTACCTTAACGCTAAAGGTGCTTTGACTTATACCGATATTGCTGGCGACCCTGTTTTG | ||
| TATGGCAACTTGCCGCCGCGTGAAATTTCTATGAAGGATGTTTTCCGTTCTGGTGATTCGTCTAAGAAGT | ||
| TTAAGATTGCTGAGGGTCAGTGGTATCGTTATGCGCCTTCGTATGTTTCTCCTGCTTATCACCTTCTTGA | ||
| AGGCTTCCCATTCATTCAGGAACCGCCTTCTGGTGATTTGCAAGAACGCGTACTTATTCGCCACCATGAT | ||
| TATGACCAGTGTTTCCAGTCCGTTCAGTTGTTGCAGTGGAATAGTCAGGTTAAATTTAATGTGACCGTTT | ||
| ATCGCAATCTGCCGACCACTCGCGATTCAATCATGACTTCGTGATAAAAGATTGAGTGTGAGGTTATAAC | ||
| GCCGAAGCGGTAAAAATTTTAATTTTTGCCGCTGAGGGGTTGACCAAGCGAAGCGCGGTAGGTTTTCTGC | ||
| TTAGGAGTTTAATCATGTTTCAGACTTTTATTTCTCGCCATAATTCAAACTTTTTTTCTGATAAGCTGGT | ||
| TCTCACTTCTGTTACTCCAGCTTCTTCGGCACCTGTTTTACAGACACCTAAAGCTACATCGTCAACGTTA | ||
| TATTTTGATAGTTTGACGGTTAATGCTGGTAATGGTGGTTTTCTTCATTGCATTCAGATGGATACATCTG | ||
| TCAACGCCGCTAATCAGGTTGTTTCTGTTGGTGCTGATATTGCTTTTGATGCCGACCCTAAATTTTTTGC | ||
| CTGTTTGGTTCGCTTTGAGTCTTCTTCGGTTCCGACTACCCTCCCGACTGCCTATGATGTTTATCCTTTG | ||
| AATGGTCGCCATGATGGTGGTTATTATACCGTCAAGGACTGTGTGACTATTGACGTCCTTCCCCGTACGC | ||
| CGGGCAATAATGTTTATGTTGGTTTCATGGTTTGGTCTAACTTTACCGCTACTAAATGCCGCGGATTGGT | ||
| TTCGCTGAATCAGGTTATTAAAGAGATTATTTGTCTCCAGCCACTTAAGTGAGGTGATTTATGTTTGGTG | ||
| CTATTGCTGGCGGTATTGCTTCTGCTCTTGCTGGTGGCGCCATGTCTAAATTGTTTGGAGGCGGTCAAAA | ||
| AGCCGCCTCCGGTGGCATTCAAGGTGATGTGCTTGCTACCGATAACAATACTGTAGGCATGGGTGATGCT | ||
| GGTATTAAATCTGCCATTCAAGGCTCTAATGTTCCTAACCCTGATGAGGCCGCCCCTAGTTTTGTTTCTG | ||
| GTGCTATGGCTAAAGCTGGTAAAGGACTTCTTGAAGGTACGTTGCAGGCTGGCACTTCTGCCGTTTCTGA | ||
| TAAGTTGCTTGATTTGGTTGGACTTGGTGGCAAGTCTGCCGCTGATAAAGGAAAGGATACTCGTGATTAT | ||
| CTTGCTGCTGCATTTCCTGAGCTTAATGCTTGGGAGCGTGCTGGTGCTGATGCTTCCTCTGCTGGTATGG | ||
| TTGACGCCGGATTTGAGAATCAAAAAGAGCTTACTAAAATGCAACTGGACAATCAGAAAGAGATTGCCGA | ||
| GATGCAAAATGAGACTCAAAAAGAGATTGCTGGCATTCAGTCGGCGACTTCACGCCAGAATACGAAAGAC | ||
| CAGGTATATGCACAAAATGAGATGCTTGCTTATCAACAGAAGGAGTCTACTGCTCGCGTTGCGTCTATTA | ||
| TGGAAAACACCAATCTTTCCAAGCAACAGCAGGTTTCCGAGATTATGCGCCAAATGCTTACTCAAGCTCA | ||
| AACGGCTGGTCAGTATTTTACCAATGACCAAATCAAAGAAATGACTCGCAAGGTTAGTGCTGAGGTTGAC | ||
| TTAGTTCATCAGCAAACGCAGAATCAGCGGTATGGCTCTTCTCATATTGGCGCTACTGCAAAGGATATTT | ||
| CTAATGTCGTCACTGATGCTGCTTCTGGTGTGGTTGATATTTTTCATGGTATTGATAAAGCTGTTGCCGA | ||
| TACTTGGAACAATTTCTGGAAAGACGGTAAAGCTGATGGTATTGGCTCTAATTTGTCTAGGAAATAACCG | ||
| TCAGGATTGACACCCTCCCAATTGTATGTTTTCATGCCTCCAAATCTTGGAGGCTTTTTTATGGTTCGTT | ||
| CTTATTACCCTTCTGAATGTCACGCTGATTATTTTGACTTTGAGCGTATCGAGGCTCTTAAACCTGCTAT | ||
| TGAGGCTTGTGGCATTTCTACTCTTTCTCAATCCCCAATGCTTGGCTTCCATAAGCAGATGGATAACCGC | ||
| ATCAAGCTCTTGGAAGAGATTCTGTCTTTTCGTATGCAGGGCGTTGAGTTCGATAATGGTGATATGTATG | ||
| TTGACGGCCATAAGGCTGCTTCTGACGTTCGTGATGAGTTTGTATCTGTTACTGAGAAGTTAATGGATGA | ||
| ATTGGCACAATGCTACAATGTGCTCCCCCAACTTGATATTAATAACACTATAGACCACCGCCCCGAAGGG | ||
| GACGAAAAATGGTTTTTAGAGAACGAGAAGACGGTTACGCAGTTTTGCCGCAAGCTGGCTGCTGAACGCC | ||
| CTCTTAAGGATATTCGCGATGAGTATAATTACCCCAAAAAGAAAGGTATTAAGGATGAGTGTTCAAGATT | ||
| GCTGGAGGCCTCCACTATGAAATCGCGTAGAGGCTTTACTATTCAGCGTTTGATGAATGCAATGCGACAG | ||
| GCTCATGCTGATGGTTGGTTTATCGTTTTTGACACTCTCACGTTGGCTGACGACCGATTAGAGGCGTTTT | ||
| ATGATAATCCCAATGCTTTGCGTGACTATTTTCGTGATATTGGTCGTATGGTTCTTGCTGCCGAGGGTCG | ||
| CAAGGCTAATGATTCACACGCCGACTGCTATCAGTATTTTTGTGTGCCTGAGTATGGTACAGCTAATGGC | ||
| CGTCTTCATTTCCATGCGGTGCATTTTATGCGGACACTTCCTACAGGTAGCGTTGACCCTAATTTTGGTC | ||
| GTCGGGTACGCAATCGCCGCCAGTTAAATAGCTTGCAAAATACGTGGCCTTATGGTTACAGTATGCCCAT | ||
| CGCAGTTCGCTACACGCAGGACGCTTTTTCACGTTCTGGTTGGTTGTGGCCTGTTGATGCTAAAGGTGAG | ||
| CCGCTTAAAGCTACCAGTTATATGGCTGTTGGTTTCTATGTGGCTAAATACGTTAACAAAAAGTCAGATA | ||
| TGGACCTTGCTGCTAAAGGTCTAGGAGCTAAAGAATGGAACAACTCACTAAAAACCAAGCTGTCGCTACT | ||
| TCCCAAGAAGCTGTTCAGAATCAGAATGAGCCGCAACTTCGGGATGAAAATGCTCACAATGACAAATCTG | ||
| TCCACGGAGTGCTTAATCCAACTTACCAAGCTGGGTTACGACGCGACGCCGTTCAACCAGATATTGAAGC | ||
| AGAACGCAAAAAGAGAGATGAGATTGAGGCTGGGAAAAGTTACTGTAGCCGACGTTTTGGCGGCGCAACC | ||
| TGTGACGACAAATCTGCTCAAATTTATGCGCGCTTCGATAAAAATGATTGGCGTATCCAACCTGCA |
18 changes: 18 additions & 0 deletions
18
data_managers/data_manager_deacon/tool-data/all_fasta.loc.sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| #This file lists the locations and dbkeys of all the fasta files | ||
| #under the "genome" directory (a directory that contains a directory | ||
| #for each build). The script extract_fasta.py will generate the file | ||
| #all_fasta.loc. This file has the format (white space characters are | ||
| #TAB characters): | ||
| # | ||
| #<unique_build_id> <dbkey> <display_name> <file_path> | ||
| # | ||
| #So, all_fasta.loc could look something like this: | ||
| # | ||
| #apiMel3 apiMel3 Honeybee (Apis mellifera): apiMel3 /path/to/genome/apiMel3/apiMel3.fa | ||
| #hg19canon hg19 Human (Homo sapiens): hg19 Canonical /path/to/genome/hg19/hg19canon.fa | ||
| #hg19full hg19 Human (Homo sapiens): hg19 Full /path/to/genome/hg19/hg19full.fa | ||
| # | ||
| #Your all_fasta.loc file should contain an entry for each individual | ||
| #fasta file. So there will be multiple fasta files for each build, | ||
| #such as with hg19 above. | ||
| # |
9 changes: 9 additions & 0 deletions
9
data_managers/data_manager_deacon/tool-data/deacon.loc.sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #This is a sample file distributed with Galaxy that enables tools | ||
| #to use a the deacon dabase. | ||
| # | ||
| #<unique_build_id> <dbkey> <display_name> <version> <file_base_path> <index_format_version> <note_like_who_did_create_the_db> | ||
|
|
||
| #The <version> column indicates the deacon version that generated the database | ||
|
|
||
| # | ||
| #deacon_db Deacon_database 0.12.0 /mnt/galaxyIndices/deacon_database/test.idx 3 just for the test |
6 changes: 6 additions & 0 deletions
6
data_managers/data_manager_deacon/tool_data_table_conf.xml.sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <tables> | ||
| <table name="deacon" comment_char="#" allow_duplicate_entries="False"> | ||
| <columns>value, dbkey, name, version, path, format_version, note</columns> | ||
| <file path="tool-data/deacon.loc" /> | ||
| </table> | ||
| </tables> |
12 changes: 12 additions & 0 deletions
12
data_managers/data_manager_deacon/tool_data_table_conf.xml.test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <tables> | ||
| <!-- Location of deacon indexes for testing --> | ||
| <table name="deacon" comment_char="#" allow_duplicate_entries="False"> | ||
| <columns>value, dbkey, name, version, path, format_version, note</columns> | ||
| <file path="${__HERE__}/test-data/deacon.loc" /> | ||
| </table> | ||
| <!-- Locations of all fasta files under genome directory --> | ||
| <table name="all_fasta" comment_char="#"> | ||
| <columns>value, dbkey, name, path</columns> | ||
| <file path="${__HERE__}/test-data/all_fasta.loc" /> | ||
| </table> | ||
| </tables> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| name: deacon | ||
| owner: iuc | ||
| description: filters DNA sequences in FASTA/Q files and streams using accelerated minimizer comparison | ||
| homepage_url: https://github.com/bede/deacon | ||
| long_description: | | ||
| Filter sequences using accelerated minimizer comparison with query sequence(s), | ||
| emitting either matching sequences (search mode), or sequences without matches (deplete mode). | ||
| Sequences match when they share enough distinct minimizers with the indexed query to exceed chosen | ||
| absolute and relative thresholds. | ||
| remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/main/tools/deacon | ||
| type: unrestricted | ||
| categories: | ||
| - Metagenomics |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.