Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug that resulted in the TSL getting incorrectly evaluated when determining the best peptide #1036

Merged
merged 5 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions docs/pvacbind/output_files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,19 +258,9 @@ option is chosen.
* - Column Name
- Description (BLAST)
- Description (reference fasta)
* - ``Chromosome``
- :cspan:`2` The chromosome of this variant
* - ``Start``
- :cspan:`2` The start position of this variant in the zero-based, half-open coordinate system
* - ``Stop``
- :cspan:`2` The stop position of this variant in the zero-based, half-open coordinate system
* - ``Reference``
- :cspan:`2` The reference allele
* - ``Variant``
- :cspan:`2` The alt allele
* - ``Transcript``
- :cspan:`2` The Ensembl ID of the affected transcript
* - ``MT Epitope Seq``
* - ``ID``
- :cspan:`2` A unique identifier for the variant
* - ``Epitope Seq``
- :cspan:`2` The mutant peptide sequence for the epitope candidate
* - ``Peptide``
- The peptide sequence submitted to BLAST
Expand Down
16 changes: 3 additions & 13 deletions docs/pvacfuse/output_files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,19 +326,9 @@ option is chosen.
* - Column Name
- Description (BLAST)
- Description (reference fasta)
* - ``Chromosome``
- :cspan:`2` The chromosome of this variant
* - ``Start``
- :cspan:`2` The start position of this variant in the zero-based, half-open coordinate system
* - ``Stop``
- :cspan:`2` The stop position of this variant in the zero-based, half-open coordinate system
* - ``Reference``
- :cspan:`2` The reference allele
* - ``Variant``
- :cspan:`2` The alt allele
* - ``Transcript``
- :cspan:`2` The Ensembl ID of the affected transcript
* - ``MT Epitope Seq``
* - ``ID``
- :cspan:`2` A unique identifier for the fusion
* - ``Epitope Seq``
- :cspan:`2` The mutant peptide sequence for the epitope candidate
* - ``Peptide``
- The peptide sequence submitted to BLAST
Expand Down
2 changes: 1 addition & 1 deletion pvactools/lib/aggregate_all_epitopes.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def get_best_binder(self, df):
#subset protein_coding dataframe to only include entries with a TSL < maximum_transcript_support_level
tsl_df = biotype_df[biotype_df['Transcript Support Level'] != 'NA']
tsl_df = tsl_df[tsl_df['Transcript Support Level'] != 'Not Supported']
tsl_df = tsl_df[tsl_df['Transcript Support Level'] < self.maximum_transcript_support_level]
tsl_df = tsl_df[tsl_df['Transcript Support Level'] <= self.maximum_transcript_support_level]
#if this results in an empty dataframe, reset to previous dataframe
if tsl_df.shape[0] == 0:
tsl_df = biotype_df
Expand Down
Loading