Previous changeset 0:6927379c9ede (2020-11-27) |
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2" |
modified:
flair_correct.xml flair_macros.xml |
b |
diff -r 6927379c9ede -r c784170f3b5e flair_correct.xml --- a/flair_correct.xml Fri Nov 27 21:55:45 2020 +0000 +++ b/flair_correct.xml Fri Apr 09 21:15:31 2021 +0000 |
b |
@@ -1,4 +1,4 @@ -<tool id="flair_correct" name="FLAIR correct" version="@TOOL_VERSION@" profile="20.01"> +<tool id="flair_correct" name="FLAIR correct" version="@TOOL_VERSION@+galaxy0" profile="20.01"> <description>corrects misaligned splice sites using genome annotations</description> <macros> |
b |
diff -r 6927379c9ede -r c784170f3b5e flair_macros.xml --- a/flair_macros.xml Fri Nov 27 21:55:45 2020 +0000 +++ b/flair_macros.xml Fri Apr 09 21:15:31 2021 +0000 |
[ |
@@ -13,10 +13,17 @@ <token name="@PREPARE_REF@"><![CDATA[ #if str($reference_source_genome.ref_selector_genome) == 'history': - ln -s '$reference_source_genome.reffile' reference.fa && + #set reference = $reference_source_genome.reffile + #set ext = $reference.ext samtools faidx 'reference.fa' 2>&1 || echo "Error running samtools faidx for indexing fasta reference for flair" >&2 && #else - ln -s '${reference_source_genome.reffile.fields.path}' reference.fa && + #set reference = $reference_source_genome.reffile.fields.path + #set ext = $reference_source_genome.reffile.fields.path + #end if + #if $ext.endswith(".gz"): + gunzip -c '$reference' > reference.fa && + #else: + ln -sf '$reference' reference.fa && #end if ]]></token> @@ -34,7 +41,7 @@ </param> </when> <when value="history"> - <param name="reffile" argument="-g" type="data" format="fasta" label="Reference" help="Reference sequence" /> + <param name="reffile" argument="-g" type="data" format="fasta,fasta.gz" label="Reference" help="Reference sequence" /> </when> </conditional> </xml> |