# HG changeset patch # User iuc # Date 1571163174 14400 # Node ID de67e5082c48e12a55210aec42296e3b677472ef # Parent 8f92c2b26e6d6dc7dd1129a93a7a6e2ac24ed3d8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit aeb660e92b9eb60dc5f90a2078f552018cca96e0" diff -r 8f92c2b26e6d -r de67e5082c48 snpEff_create_db.xml --- a/snpEff_create_db.xml Fri Jan 25 12:29:48 2019 -0500 +++ b/snpEff_create_db.xml Tue Oct 15 14:12:54 2019 -0400 @@ -1,4 +1,4 @@ - + database from Genbank or GFF record snpEff_macros.xml @@ -32,12 +32,27 @@ ln -s '${input_type.input_gbk}' '${snpeff_output.files_path}'/'${genome_version}'/genes.gbk.gz && #end if #elif str( $input_type.input_type_selector ) == "gff": - #if $input_type.input_fasta.is_of_type("fasta"): - ln -s '${input_type.input_fasta}' '${snpeff_output.files_path}'/'${genome_version}'/sequences.fa && - #elif $input_type.input_fasta.is_of_type("fasta.gz"): - ln -s '${input_type.input_fasta}' '${snpeff_output.files_path}'/'${genome_version}'/sequences.fa.gz && - #end if + #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 && + #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 && + #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 && + #end if ln -s '${input_type.input_gff}' '${snpeff_output.files_path}'/'${genome_version}'/genes.gff && + #elif str( $input_type.input_type_selector ) == "gtf": + #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 && + #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 && + #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 && + #end if + ln -s '${input_type.input_gtf}' '${snpeff_output.files_path}'/'${genome_version}'/genes.gtf && #end if snpEff @JAVA_OPTIONS@ build -v @@ -47,6 +62,8 @@ -genbank #elif str( $input_type.input_type_selector ) == "gff": -gff3 + #elif str( $input_type.input_type_selector ) == "gtf": + -gtf22 #end if -dataDir '${snpeff_output.files_path}' '${genome_version}' && echo "${genome_version}.genome : ${genome_version}" >> '${snpeff_output.files_path}'/snpEff.config && @@ -61,6 +78,7 @@ + @@ -72,7 +90,37 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -136,6 +184,7 @@ + @@ -147,6 +196,7 @@ + @@ -155,6 +205,18 @@ + + + + + + + + + + + +