Mercurial > repos > iuc > snpeff
diff snpEff_create_db.xml @ 27:9473cd297a76 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit af2e922183065d2a950e07b4027cc6600503d38a
author | iuc |
---|---|
date | Wed, 22 Nov 2023 19:44:16 +0000 |
parents | 5c7b70713fb5 |
children | 6322be79bd8e |
line wrap: on
line diff
--- a/snpEff_create_db.xml Fri Nov 25 19:44:27 2022 +0000 +++ b/snpEff_create_db.xml Wed Nov 22 19:44:16 2023 +0000 @@ -1,4 +1,4 @@ -<tool id="snpEff_build_gb" name="SnpEff build:" version="@WRAPPER_VERSION@.galaxy5"> +<tool id="snpEff_build_gb" name="SnpEff build:" version="@WRAPPER_VERSION@.galaxy6" profile="22.01"> <description> database from Genbank or GFF record</description> <macros> <import>snpEff_macros.xml</import> @@ -14,25 +14,26 @@ python3 '$__tool_directory__/gbk2fa.py' '${input_type.input}' '${output_fasta}' ${input_type.remove_version} && #end if - mkdir -p '${snpeff_output.files_path}'/'${genome_version}' && + mkdir -p '${snpeff_output.files_path}/${genome_version}' && + mkdir -p snpeff_output/'${genome_version}' && #if str($input_type.input_type_selector) == "gb": #if $input_type.input.is_of_type("genbank"): - ln -s '${input_type.input}' '${snpeff_output.files_path}/${genome_version}/genes.gbk' && + ln -s '${input_type.input}' 'snpeff_output/${genome_version}/genes.gbk' && #elif $input_type.input.is_of_type("genbank.gz"): - ln -s '${input_type.input}' '${snpeff_output.files_path}/${genome_version}/genes.gbk.gz' && + ln -s '${input_type.input}' 'snpeff_output/${genome_version}/genes.gbk.gz' && #end if #else: #if $input_type.reference_source.reference_source_selector == "history": #if $input_type.reference_source.input_fasta.is_of_type("fasta"): - ln -s '${input_type.reference_source.input_fasta}' '${snpeff_output.files_path}/${genome_version}/sequences.fa' && + ln -s '${input_type.reference_source.input_fasta}' 'snpeff_output/${genome_version}/sequences.fa' && #elif $input_type.reference_source.input_fasta.is_of_type("fasta.gz"): - ln -s '${input_type.reference_source.input_fasta}' '${snpeff_output.files_path}/${genome_version}/sequences.fa.gz' && + ln -s '${input_type.reference_source.input_fasta}' 'snpeff_output/${genome_version}/sequences.fa.gz' && #end if #elif $input_type.reference_source.reference_source_selector == "cached": - ln -s '${input_type.reference_source.ref_file.fields.path}' '${snpeff_output.files_path}/${genome_version}/sequences.fa' && + ln -s '${input_type.reference_source.ref_file.fields.path}' 'snpeff_output/${genome_version}/sequences.fa' && #end if - ln -s '${input_type.input}' '${snpeff_output.files_path}/${genome_version}/genes.${input_type.input_type_selector}' && + ln -s '${input_type.input}' 'snpeff_output/${genome_version}/genes.${input_type.input_type_selector}' && #end if snpEff @JAVA_OPTIONS@ build -v @@ -45,7 +46,8 @@ #elif str($input_type.input_type_selector) == "gtf": -gtf22 #end if - -dataDir '${snpeff_output.files_path}' '${genome_version}' && + -dataDir "\$(pwd)/snpeff_output" '${genome_version}' && + mv snpeff_output/'${genome_version}'/*.bin '${snpeff_output.files_path}/${genome_version}' && echo '${genome_version}.genome : ${genome_version}' >> '${snpeff_output.files_path}'/snpEff.config && echo '${genome_version}.codonTable : ${codon_table}' >> '${snpeff_output.files_path}'/snpEff.config ]]></command>