# HG changeset patch # User iuc # Date 1700682256 0 # Node ID 9473cd297a7642971492432fcf576a2978ebe9f1 # Parent 5b80f544c67f60ab67cdbbbc49768135c2180996 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit af2e922183065d2a950e07b4027cc6600503d38a diff -r 5b80f544c67f -r 9473cd297a76 snpEff_create_db.xml --- 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 @@ - + database from Genbank or GFF record snpEff_macros.xml @@ -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 ]]>