Exactly, you need to change your too.xml file. You could try to solve this with an if condition:
#if isinstance($input_fasta.datatype, $__app__.datatypes_registry.get_datatype_by_extension('fastq').__class__):
ln -s $input_fasta $input_fasta.fastq
#elif isinstance($input_fasta.datatype, $__app__.datatypes_registry.get_datatype_by_extension('fasta').__class__):
ln -s $input_fasta $input_fasta.fastq
## use as many elifs as you need
#else:
ln -s $input_fasta $input_fasta.fastq.gz
#end if
Might not be the most elegant way, but I think it should work, assuming that you have added all extensions to datatypes.
best,
Mina
Mina Bashir, MSc
Division of Endocrinology & Diabetology
Medical University of Graz
ZMF Center for Medical Research
Stiftingtalstraße 24
8010 Graz, Austria
+43 (0) 316 385 72713
thanx Mina, I thought about this. If no one still did this, question is where to add soft link creation.
Probably in flexbar.xml. Now flexbar supports fasta and fastaq format, also their gziped/bziped versions.
How to determine data format in Galaxy? I'm not an expert neither in Galaxy nor biology, just try to administrate
Galaxy instance.
Thanx,
Nikolaos