Skip to content

Commit

Permalink
Version bumps for file open mode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Dec 21, 2023
1 parent 8d515f6 commit 8ee67c1
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 18 deletions.
1 change: 1 addition & 0 deletions tools/fasta_filter_by_id/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ v0.0.5 - Explicit dependency on ``galaxy_sequence_utils``.
- Use standard MIT license (was previously using the MIT/BSD style
Biopython Licence Agreement).
v0.0.6 - Python 3 compatible print function.
v0.0.7 - Fix file open mode for Python 3.11 onwards.
======= ======================================================================


Expand Down
4 changes: 2 additions & 2 deletions tools/fasta_filter_by_id/fasta_filter_by_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
in column one, and the ID of the match from the database is in column two.
Here sensible values for the column numbers would therefore be "1" or "2".
This tool is copyright 2010-2017 by Peter Cock, The James Hutton Institute
This tool is copyright 2010-2023 by Peter Cock, The James Hutton Institute
(formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
See accompanying text file for licence details (MIT license).
"""
Expand All @@ -26,7 +26,7 @@
import sys

if "-v" in sys.argv or "--version" in sys.argv:
print("v0.0.6")
print("v0.0.7")
sys.exit(0)

from galaxy_utils.sequence.fasta import fastaReader, fastaWriter
Expand Down
2 changes: 1 addition & 1 deletion tools/fasta_filter_by_id/fasta_filter_by_id.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="fasta_filter_by_id" name="Filter FASTA by ID" version="0.0.6" hidden="true">
<tool id="fasta_filter_by_id" name="Filter FASTA by ID" version="0.0.7" hidden="true">
<description>from a tabular file</description>
<requirements>
<requirement type="package" version="1.0.1">galaxy_sequence_utils</requirement>
Expand Down
1 change: 1 addition & 0 deletions tools/predictnls/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ v0.0.9 - Use ``<command detect_errors="aggressive">`` (internal change only).
- Single quote command line arguments (internal change only).
- Python 3 compatible print function.
- Record version of the Python script.
v0.0.10 - Fix file open mode for Python 3.11 onwards.
======= ======================================================================


Expand Down
4 changes: 2 additions & 2 deletions tools/predictnls/predictnls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

# Copyright 2011-2013 by Peter Cock, James Hutton Institute (formerly SCRI), UK
# Copyright 2011-2023 by Peter Cock, James Hutton Institute (formerly SCRI), UK
#
# Licenced under the GPL (GNU General Public Licence) version 3.
#
Expand Down Expand Up @@ -56,7 +56,7 @@
import sys

if "-v" in sys.argv or "--version" in sys.argv:
print("v0.0.9")
print("v0.0.10")
sys.exit(0)

if len(sys.argv) == 4:
Expand Down
2 changes: 1 addition & 1 deletion tools/predictnls/predictnls.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="predictnls" name="PredictNLS" version="0.0.9">
<tool id="predictnls" name="PredictNLS" version="0.0.10">
<description>Find nuclear localization signals (NLSs) in protein sequences</description>
<version_command>
python $__tool_directory__/predictnls.py --version
Expand Down
4 changes: 3 additions & 1 deletion tools/seq_primer_clip/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Galaxy tool to primer clip (trim) FASTA, FASTQ or SFF reads
===========================================================

This tool is copyright 2011-2017 by Peter Cock, The James Hutton Institute
This tool is copyright 2011-2023 by Peter Cock, The James Hutton Institute
(formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
See the licence text below (MIT licence).

Expand Down Expand Up @@ -74,6 +74,8 @@ v0.0.14 - Depends on Biopython 1.67 via legacy Tool Shed package or bioconda.
v0.0.15 - Use ``<command detect_errors="aggressive">`` (internal change only).
- Single quote command line arguments (internal change only)
v0.0.16 - Python 3 compatible print function.
v0.0.17 - Use Python 3 style dictionary iteration.
v0.0.18 - Fix file open mode for Python 3.11 onwards.
======= ======================================================================


Expand Down
4 changes: 2 additions & 2 deletions tools/seq_primer_clip/seq_primer_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Note that only the trim/clip values in the SFF file are changed, not the flow
information of the full read sequence.
This script is copyright 2011-2013 by Peter Cock, The James Hutton Institute
This script is copyright 2011-2023 by Peter Cock, The James Hutton Institute
(formerly the Scottish Crop Research Institute, SCRI), UK. All rights reserved.
See accompanying text file for licence details (MIT/BSD style).
Expand All @@ -34,7 +34,7 @@
import sys

if "-v" in sys.argv or "--version" in sys.argv:
print("v0.0.17")
print("v0.0.18")
sys.exit(0)

from galaxy_utils.sequence.fasta import fastaReader, fastaWriter
Expand Down
2 changes: 1 addition & 1 deletion tools/seq_primer_clip/seq_primer_clip.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="seq_primer_clip" name="Primer clip sequences" version="0.0.16">
<tool id="seq_primer_clip" name="Primer clip sequences" version="0.0.18">
<description>Trim off 5' or 3' primers</description>
<requirements>
<requirement type="package" version="1.0.1">galaxy_sequence_utils</requirement>
Expand Down
3 changes: 2 additions & 1 deletion tools/seq_rename/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Galaxy tool to rename FASTA, QUAL, FASTQ or SFF sequences
=========================================================

This tool is copyright 2011-2017 by Peter Cock, The James Hutton Institute
This tool is copyright 2011-2023 by Peter Cock, The James Hutton Institute
(formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
See the licence text below.

Expand Down Expand Up @@ -85,6 +85,7 @@ v0.0.8 - Updated to point at Biopython 1.67 (latest version in Tool Shed).
v0.0.9 - Use ``<command detect_errors="aggressive">`` (internal change only).
- Single quote command line arguments (internal change only).
- Python 3 compatible print function.
v0.0.10 - Fix file open mode for Python 3.11 onwards.
======= ======================================================================


Expand Down
4 changes: 2 additions & 2 deletions tools/seq_rename/seq_rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3.
https://doi.org/10.1093/bioinformatics/btp163 pmid:19304878.
This script is copyright 2011-2017 by Peter Cock, The James Hutton Institute UK.
This script is copyright 2011-2023 by Peter Cock, The James Hutton Institute UK.
All rights reserved. See accompanying text file for licence details (MIT
license).
"""
Expand All @@ -27,7 +27,7 @@
import sys

if "-v" in sys.argv or "--version" in sys.argv:
print("v0.0.9")
print("v0.0.10")
sys.exit(0)

# Parse Command Line
Expand Down
2 changes: 1 addition & 1 deletion tools/seq_rename/seq_rename.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="seq_rename" name="Rename sequences" version="0.0.9">
<tool id="seq_rename" name="Rename sequences" version="0.0.10">
<description>with ID mapping from a tabular file</description>
<requirements>
<requirement type="package" version="1.0.1">galaxy_sequence_utils</requirement>
Expand Down
3 changes: 2 additions & 1 deletion tools/seq_select_by_id/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Galaxy tool to select FASTA, QUAL, FASTQ or SFF sequences by ID
===============================================================

This tool is copyright 2011-2017 by Peter Cock, The James Hutton Institute
This tool is copyright 2011-2023 by Peter Cock, The James Hutton Institute
(formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
See the licence text below.

Expand Down Expand Up @@ -91,6 +91,7 @@ v0.0.12 - Python style changes (internal change only).
- Python 3 compatible print function.
v0.0.13 - Python 3 compatible exception handling.
v0.0.14 - Script works on Python 2 and 3 (fixed output file mode).
v0.0.15 - Fixed file open mode for Python 3.11 onwards.
======= ======================================================================


Expand Down
4 changes: 2 additions & 2 deletions tools/seq_select_by_id/seq_select_by_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3.
https://doi.org/10.1093/bioinformatics/btp163 pmid:19304878.
This script is copyright 2011-2017 by Peter Cock, The James Hutton Institute UK.
This script is copyright 2011-2023 by Peter Cock, The James Hutton Institute UK.
All rights reserved. See accompanying text file for licence details (MIT
license).
"""
Expand All @@ -26,7 +26,7 @@
import sys

if "-v" in sys.argv or "--version" in sys.argv:
print("v0.0.14")
print("v0.0.15")
sys.exit(0)

# Parse Command Line
Expand Down
2 changes: 1 addition & 1 deletion tools/seq_select_by_id/seq_select_by_id.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="seq_select_by_id" name="Select sequences by ID" version="0.0.14">
<tool id="seq_select_by_id" name="Select sequences by ID" version="0.0.15">
<description>from a tabular file</description>
<requirements>
<requirement type="package" version="1.67">biopython</requirement>
Expand Down

0 comments on commit 8ee67c1

Please sign in to comment.