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

Centralize "Split" File Path Generation #229

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2f37548
Make generate_fasta into a class
susannasiebert Sep 21, 2016
e43f463
Make convert_vcf into a class
susannasiebert Sep 21, 2016
dbba078
Make parse_output into a class
susannasiebert Sep 22, 2016
9589f12
Change ParseOutput class name to OutputParser
susannasiebert Sep 22, 2016
1619ed8
Change GenerateFasta class name to FastaGenerator
susannasiebert Sep 22, 2016
3cd44f4
Change ConvertVcf class name to InputFileConverter
susannasiebert Sep 22, 2016
e2b060b
Remove unneeded imports
susannasiebert Sep 22, 2016
9184440
Eliminate unnecessary conditionals
susannasiebert Nov 17, 2016
5c9d23f
use `with` for opening filehandles where appropriate
susannasiebert Nov 17, 2016
36f8a13
Update InputFileConverter to accept Integrate files
susannasiebert Sep 26, 2016
d79cd10
Update FastaGenerator to accept fusion tsv
susannasiebert Sep 28, 2016
2e87ff4
Update OutputParser to be able to handle fusion output files
susannasiebert Nov 28, 2016
09e4bae
Update test data for main pvacseq test
susannasiebert Nov 28, 2016
db1b663
Remove unneeded int castings
susannasiebert Nov 29, 2016
789237a
Fix some formatting issues
susannasiebert Nov 29, 2016
319602c
Skip fusion variants that aren't inframe_fusion or frameshift_fusion
susannasiebert Nov 29, 2016
01e33c5
Deduplicate some code
susannasiebert Dec 7, 2016
c54aacf
Adapt main pipeline to accept INTEGRATE-Neo fusion files
susannasiebert Dec 7, 2016
16ce34f
Test for running fusion file in the pipeline
susannasiebert Dec 7, 2016
f91697f
Fix typo
susannasiebert Dec 21, 2016
3ceb7c7
Remove duplicate `tsv_file_path` function.
tmooney Feb 7, 2017
a5db59c
Extract a function to generate the split TSV file path.
tmooney Nov 15, 2016
dba636d
Function now specifies full split FASTA filename.
tmooney Nov 15, 2016
26ea758
Extract function to get fasta chunk name.
tmooney Nov 15, 2016
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
13 changes: 9 additions & 4 deletions pvacseq/lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@
"call_iedb",
"combine_parsed_outputs",
"config_files",
"convert_vcf",
"input_file_converter",
"coverage_filter",
"download_example_data",
"generate_fasta",
"fasta_generator",
"generate_protein_fasta",
"install_vep_plugin",
"main",
"parse_output",
"output_parser",
"valid_alleles",
'net_chop',
"netmhc_stab"
"netmhc_stab",
]

import os
import sys
pvac_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
sys.path.append(pvac_dir)
sys.path.append(os.path.join(pvac_dir, 'pvacseq'))
from . import *
6 changes: 1 addition & 5 deletions pvacseq/lib/call_iedb.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import sys
from pathlib import Path # if you haven't already done so
root = str(Path(__file__).resolve().parents[1])
sys.path.append(root)

import os
import argparse
import requests
import re
import os
from lib.prediction_class import *
import time
from subprocess import run, PIPE
Expand Down
297 changes: 0 additions & 297 deletions pvacseq/lib/convert_vcf.py

This file was deleted.

Loading