Mercurial > repos > iuc > data_manager_salmon_index_builder
comparison data_manager/salmon_index_builder.xml @ 8:ec2a1f280d67 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/data_managers/data_manager_salmon_index_builder commit 1ea9e99e1c7a7cd0f012467466e0740b6bdeb90e
| author | iuc |
|---|---|
| date | Thu, 23 Oct 2025 17:05:46 +0000 |
| parents | 9fc154508622 |
| children | d31d59516633 |
comparison
equal
deleted
inserted
replaced
| 7:9fc154508622 | 8:ec2a1f280d67 |
|---|---|
| 1 <tool id="salmon_index_builder_data_manager" name="Salmon" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.0"> | 1 <tool id="salmon_index_builder_data_manager" name="Salmon" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.0"> |
| 2 <description>index builder</description> | 2 <description>index builder</description> |
| 3 <macros> | 3 <macros> |
| 4 <token name="@TOOL_VERSION@">1.3.0</token> | 4 <token name="@TOOL_VERSION@">1.10.1</token> |
| 5 <token name="@VERSION_SUFFIX@">1</token> | 5 <token name="@VERSION_SUFFIX@">0</token> |
| 6 <token name="@PROFILE@">24.0</token> | 6 <token name="@PROFILE@">24.0</token> |
| 7 <token name="@IDX_VERSION@">q7</token> | 7 <token name="@IDX_VERSION@">q7</token> |
| 8 </macros> | 8 </macros> |
| 9 <requirements> | 9 <requirements> |
| 10 <requirement type="package" version="@TOOL_VERSION@">salmon</requirement> | 10 <requirement type="package" version="@TOOL_VERSION@">salmon</requirement> |
| 11 </requirements> | 11 </requirements> |
| 12 <command detect_errors="exit_code"><![CDATA[ | 12 <command detect_errors="exit_code"><![CDATA[ |
| 13 ## salmon uses one thread to much | |
| 14 SLOTS=\$(( \${GALAXY_SLOTS:-12} > 1 ? \${GALAXY_SLOTS:-12} - 1 : 1 )); | |
| 15 | |
| 13 ## https://combine-lab.github.io/alevin-tutorial/2019/selective-alignment/ | 16 ## https://combine-lab.github.io/alevin-tutorial/2019/selective-alignment/ |
| 14 ## https://salmon.readthedocs.io/en/latest/salmon.html#preparing-transcriptome-indices-mapping-based-mode | 17 ## https://salmon.readthedocs.io/en/latest/salmon.html#preparing-transcriptome-indices-mapping-based-mode |
| 15 | 18 |
| 16 #for $transcripts in $transcriptome.fields.path.split(",") | 19 #for $transcripts in $transcriptome.fields.path.split(",") |
| 17 (zcat '$transcripts' 2>/dev/null || cat '$transcripts') >> gentrome.fa && | 20 (zcat '$transcripts' 2>/dev/null || cat '$transcripts') >> gentrome.fa && |
| 25 salmon index | 28 salmon index |
| 26 -k $kmer_size | 29 -k $kmer_size |
| 27 -t gentrome.fa | 30 -t gentrome.fa |
| 28 -d decoys.txt | 31 -d decoys.txt |
| 29 -i '$out_file.extra_files_path' | 32 -i '$out_file.extra_files_path' |
| 30 -p "\${GALAXY_SLOTS:-12}" | 33 -p "\$SLOTS" |
| 31 $gencode | 34 $gencode |
| 32 && | 35 && |
| 33 | 36 |
| 34 cp '$dmjson' '$out_file' | 37 cp '$dmjson' '$out_file' |
| 35 ]]></command> | 38 ]]></command> |
