Skip to content

Commit a890d4f

Browse files
Merge remote-tracking branch 'origin/hotfix'
2 parents c551a43 + e76225e commit a890d4f

File tree

6 files changed

+34
-14
lines changed

6 files changed

+34
-14
lines changed

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
# The short X.Y version.
7070
version = '1.5'
7171
# The full version, including alpha/beta/rc tags.
72-
release = '1.5.1'
72+
release = '1.5.2'
7373

7474
# The language for content autogenerated by Sphinx. Refer to documentation
7575
# for a list of supported languages.

docs/index.rst

+3-6
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,9 @@ New in release |release|
5252

5353
This is a hotfix release. It fixes the following issues:
5454

55-
- There was a syntax error in
56-
``tools/pvacseq/generate_condensed_ranked_report.py`` that would result in
57-
an error when running the ``pvacseq generate-condensed-ranked-report``
58-
commands.
59-
- We were previously not correctly catching cases where the intermediate fasta for
60-
making binding prediction was empty. This would result in errors downstream.
55+
- AGFusion exon files may be comma-delimited. Previously, the file parser
56+
assumed the files were tab-delimited. This release now allows AGFusion
57+
inputs that are comma- or tab-delimited.
6158

6259
New in version |version|
6360
------------------------

docs/releases/1_5.rst

+21
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,24 @@ This version adds the following features:
7676
where the cache file contains conflicting data compared to the actual
7777
process outputs which results in errors. Clearing the cache using the ``pvacapi clear_cache``
7878
function can be used in that situation to resolve these errors.
79+
80+
1.5.1
81+
-----
82+
83+
This is a hotfix release. It fixes the following issues:
84+
85+
- There was a syntax error in
86+
``tools/pvacseq/generate_condensed_ranked_report.py`` that would result in
87+
an error when running the ``pvacseq generate-condensed-ranked-report``
88+
commands.
89+
- We were previously not correctly catching cases where the intermediate fasta for
90+
making binding prediction was empty. This would result in errors downstream.
91+
92+
1.5.2
93+
-----
94+
95+
This is a hotfix release. It fixes the following issues:
96+
97+
- AGFusion exon files may be comma-delimited. Previously, the file parser
98+
assumed the files were tab-delimited. This release now allows AGFusion
99+
inputs that are comma- or tab-delimited.

lib/input_file_converter.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def parse_integrate_neo_file(self):
469469

470470
def determine_fusion_sequence(self, full_sequence, variant_type):
471471
if '*' not in full_sequence:
472-
sys.exit("Fusion position marker '*' not found in fusion sequence. Please rerun AGfusion using the `--middlestar` option.")
472+
sys.exit("Fusion position marker '*' not found in fusion sequence. Please rerun AGFusion using the `--middlestar` option.")
473473
else:
474474
fusion_position = full_sequence.find('*')
475475
sequence = full_sequence.replace('*', '')
@@ -479,7 +479,9 @@ def parse_exon_file(self, input_file):
479479
exon_file = input_file.replace('_protein.fa', '.exons.txt')
480480
five_prime_positions, three_prime_positions = [], []
481481
with open(exon_file, 'r') as fh:
482-
reader = csv.DictReader(fh, delimiter='\t')
482+
dialect = csv.Sniffer().sniff(fh.read())
483+
fh.seek(0)
484+
reader = csv.DictReader(fh, delimiter=dialect.delimiter)
483485
for record in reader:
484486
exon_start = int(record['exon_start'])
485487
exon_end = int(record['exon_end'])

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
setup(
6363
name="pvactools",
64-
version="1.5.1",
64+
version="1.5.2",
6565
packages=[
6666
"tools",
6767
"tools.pvacbind",
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
5'_gene 3'_gene 5'_transcript 3'_transcript exon_gene_source exon_number exon_chr exon_start exon_end
2-
WHSC1L1 ESRP1 ENST00000317025 ENST00000433389 '5 gene 1 8 38381799 38382272
3-
WHSC1L1 ESRP1 ENST00000317025 ENST00000433389 '5 gene 2 8 38347497 38348215
4-
WHSC1L1 ESRP1 ENST00000317025 ENST00000433389 '3 gene 16 8 94705925 94707423
1+
5'_gene,3'_gene,5'_transcript,3'_transcript,exon_gene_source,exon_number,exon_chr,exon_start,exon_end
2+
WHSC1L1,ESRP1,ENST00000317025,ENST00000433389,'5 gene,1,8,38381799,38382272
3+
WHSC1L1,ESRP1,ENST00000317025,ENST00000433389,'5 gene,2,8,38347497,38348215
4+
WHSC1L1,ESRP1,ENST00000317025,ENST00000433389,'3 gene,16,8,94705925,94707423

0 commit comments

Comments
 (0)