Merge branch 'ccedmendoza_patch-1' of https://github.com/bernt-matthias/galaxy into ccedmendoza_patch-1

This commit is contained in:
Matthias Bernt
2021-02-13 22:03:16 +01:00
2 changed files with 4 additions and 5 deletions
@@ -60,9 +60,8 @@ def gff_filter(gff_file, attribute_name, ids_file, output_file):
continue
fields = line.split('\t')
attributes = parse_gff_attributes(fields[8])
if (attribute_name in attributes) and (attributes[attribute_name] in ids_dict):
if attribute_name in attributes and attributes[attribute_name] in ids_dict:
output.write(line)
output.close()
if __name__ == "__main__":
@@ -1,8 +1,8 @@
<tool id="gtf_filter_by_attribute_values_list" name="Filter GTF data by attribute values_list" version="0.2">
<description></description>
<command>
python '$__tool_directory__/gtf_filter_by_attribute_values_list.py' '$input' '$attribute_name' '$ids' '$output'
</command>
<command><![CDATA[
python '$__tool_directory__/gtf_filter_by_attribute_values_list.py' '$input' $attribute_name '$ids' '$output'
]]></command>
<inputs>
<param format="gtf" name="input" type="data" label="Filter"/>
<param name="attribute_name" type="select" label="Using attribute name">