-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some low hanings of #154 after all
- Loading branch information
Showing
36 changed files
with
80 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
|
||
from __future__ import print_function, unicode_literals | ||
|
||
import os | ||
import sys | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import logging | ||
import os | ||
import sys | ||
|
||
LEVELS = { | ||
0: "WARNING", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
INTERESTING_SO_TERMS = set( | ||
[ | ||
"transcript_ablation", | ||
"splice_donor_variant", | ||
"splice_acceptor_variant", | ||
"stop_gained", | ||
"start_lost", | ||
"frameshift_variant", | ||
"stop_lost", | ||
"initiator_codon_variant", | ||
"transcript_amplification", | ||
"inframe_insertion", | ||
"inframe_deletion", | ||
"protein_altering_variant", | ||
"missense_variant", | ||
"splice_region_variant", | ||
"incomplete_terminal_codon_variant", | ||
"stop_retained_variant", | ||
"synonymous_variant", | ||
"coding_sequence_variant", | ||
"mature_miRNA_variant", | ||
"5_prime_UTR_variant", | ||
"3_prime_UTR_variant", | ||
"non_coding_exon_variant", | ||
"non_coding_transcript_exon_variant", | ||
"non_coding_transcript_variant", | ||
"nc_transcript_variant", | ||
"intron_variant", | ||
"NMD_transcript_variant", | ||
"non_coding_transcript_variant", | ||
"upstream_gene_variant", | ||
"downstream_gene_variant", | ||
] | ||
) | ||
|
||
EXONIC_SO_TERMS = set( | ||
[ | ||
"transcript_ablation", | ||
"splice_donor_variant", | ||
"splice_acceptor_variant", | ||
"stop_gained", | ||
"frameshift_variant", | ||
"stop_lost", | ||
"start_lost", | ||
"initiator_codon_variant", | ||
"transcript_amplification", | ||
"inframe_insertion", | ||
"inframe_deletion", | ||
"missense_variant", | ||
"protein_altering_variant", | ||
"splice_region_variant", | ||
"incomplete_terminal_codon_variant", | ||
"stop_retained_variant", | ||
"synonymous_variant", | ||
"coding_sequence_variant", | ||
] | ||
) | ||
|
||
from .check_individuals import check_individuals | ||
from .get_batches import get_batches | ||
from .get_features import check_vep_annotation, get_annotation | ||
from .get_priority import get_chromosome_priority, get_rank_score | ||
from .is_number import is_number | ||
from .pair_generator import generate_pairs | ||
from .variant_printer import VariantPrinter | ||
|
||
INTERESTING_SO_TERMS = {"transcript_ablation", "splice_donor_variant", "splice_acceptor_variant", "stop_gained", | ||
"start_lost", "frameshift_variant", "stop_lost", "initiator_codon_variant", | ||
"transcript_amplification", "inframe_insertion", "inframe_deletion", "protein_altering_variant", | ||
"missense_variant", "splice_region_variant", "incomplete_terminal_codon_variant", | ||
"stop_retained_variant", "synonymous_variant", "coding_sequence_variant", | ||
"mature_miRNA_variant", "5_prime_UTR_variant", "3_prime_UTR_variant", "non_coding_exon_variant", | ||
"non_coding_transcript_exon_variant", "non_coding_transcript_variant", "nc_transcript_variant", | ||
"intron_variant", "NMD_transcript_variant", "non_coding_transcript_variant", | ||
"upstream_gene_variant", "downstream_gene_variant"} | ||
|
||
EXONIC_SO_TERMS = {"transcript_ablation", "splice_donor_variant", "splice_acceptor_variant", "stop_gained", | ||
"frameshift_variant", "stop_lost", "start_lost", "initiator_codon_variant", | ||
"transcript_amplification", "inframe_insertion", "inframe_deletion", "missense_variant", | ||
"protein_altering_variant", "splice_region_variant", "incomplete_terminal_codon_variant", | ||
"stop_retained_variant", "synonymous_variant", "coding_sequence_variant"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
"""Parse a variant line in different ways""" | ||
|
||
import logging | ||
import string | ||
|
||
logging = logging.getLogger(__name__) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.