Skip to content

Commit

Permalink
Linter fixes for vcflib (galaxyproject#6391)
Browse files Browse the repository at this point in the history
* fix redundant argumen/name

* use vcflib citation for vcfsort

even if its just command line
  • Loading branch information
bernt-matthias authored Oct 1, 2024
1 parent 6737c92 commit f28d66c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion tool_collections/vcflib/vcffilter/.lint_skip

This file was deleted.

10 changes: 5 additions & 5 deletions tool_collections/vcflib/vcffilter/vcffilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ input1.vcf.gz
<validator type="expression" message="Invalid operator provided, valid operators are =, !, &lt;, &gt;, |, &amp;.">value is not None and not any(x in value for x in ["&lt;=", "=&lt;", "&gt;=", "=&gt;"])</validator>
</param>
</repeat>
<param name="filter_sites" argument="--filter-sites" type="boolean" truevalue="--filter-sites" falsevalue="" label="Filter entire records, not just alleles"/>
<param name="tag_pass" argument="--tag-pass" type="boolean" truevalue="--tag-pass" falsevalue="" label="Tag vcf records as positively filtered with this tag, print all records"/>
<param name="tag_fail" argument="--tag-fail" type="boolean" truevalue="--tag-fail" falsevalue="" label="Tag vcf records as negatively filtered with this tag, print all records"/>
<param name="append_filter" argument="--append-filter" type="boolean" truevalue="--append-filter" falsevalue="" label="Append the existing filter tag, don't just replace it"/>
<param name="allele_tag" argument="--allele-tag" type="boolean" truevalue="--allele-tag" falsevalue="" label="Apply --tag-pass on a per-allele basis, adds or sets the corresponding INFO field tag"/>
<param argument="--filter-sites" type="boolean" truevalue="--filter-sites" falsevalue="" label="Filter entire records, not just alleles"/>
<param argument="--tag-pass" type="boolean" truevalue="--tag-pass" falsevalue="" label="Tag vcf records as positively filtered with this tag, print all records"/>
<param argument="--tag-fail" type="boolean" truevalue="--tag-fail" falsevalue="" label="Tag vcf records as negatively filtered with this tag, print all records"/>
<param argument="--append-filter" type="boolean" truevalue="--append-filter" falsevalue="" label="Append the existing filter tag, don't just replace it"/>
<param argument="--allele-tag" type="boolean" truevalue="--allele-tag" falsevalue="" label="Apply --tag-pass on a per-allele basis, adds or sets the corresponding INFO field tag"/>
<param argument="--invert" type="boolean" truevalue="--invert" falsevalue="" label="Inverts the filter, e.g. grep -v"/>
<param argument="--or" type="boolean" truevalue="--or" falsevalue="" label="Use logical OR instead of AND to combine filters"/>
<param argument="--region" type="text" label="Specify a region on which to target the filtering" help="Regions should be specified as chr:start-end, e.g X:1000-2000"/>
Expand Down
1 change: 0 additions & 1 deletion tool_collections/vcflib/vcfsort/.lint_skip

This file was deleted.

1 change: 1 addition & 0 deletions tool_collections/vcflib/vcfsort/vcfsort.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ This tool uses native UNIX sort command to order VCF dataset in coordinate order

The same result can be achieved with the Galaxy's general purpose sort tool (in this case sort on the first and the second column in ascending order).
</help>
<expand macro="citations" />
</tool>

0 comments on commit f28d66c

Please sign in to comment.