summary module¶
-
mavis.summary.summary.
annotate_dgv
(bpps, dgv_regions_by_reference_name, distance=0)[source]¶ given a list of bpps and a dgv reference, annotate the events that are within the set distance of both breakpoints
Parameters:
-
mavis.summary.summary.
filter_by_annotations
(bpp_list, best_transcripts)[source]¶ Parameters: - bpp_list (list of BreakpointPair) – list of pairs to filter
- ( (best_transcripts) – class dict of
Transcript
bystr
): the best transcripts of the annotations based on their names
-
mavis.summary.summary.
filter_by_call_method
(bpp_list)[source]¶ Filters a set of breakpoint pairs to returns the call with the most evidence. Prefers contig evidence over spanning over split over flanking, etc.
-
mavis.summary.summary.
filter_by_evidence
(bpps, filter_min_remapped_reads=5, filter_min_spanning_reads=5, filter_min_flanking_reads=10, filter_min_split_reads=5, filter_min_linking_split_reads=1)[source]¶
-
mavis.summary.summary.
get_pairing_state
(current_protocol, current_disease_state, other_protocol, other_disease_state, is_matched=False, inferred_is_matched=False)[source]¶ given two libraries, returns the appropriate descriptor for their matched state
Parameters: - current_protocol (PROTOCOL) – the protocol of the current library
- current_disease_state (DISEASE_STATUS) – the disease status of the current library
- other_protocol (PROTOCOL) – protocol of the library being comparing to
- other_disease_state (DISEASE_STATUS) – disease status of the library being compared to
- is_matched (bool) – True if the libraries are paired
Returns: descriptor of the pairing of the two libraries
Return type: (PAIRING_STATE)