Skip to content

Commit

Permalink
Added some minor edits to the dtype dictionaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelklee committed Mar 21, 2019
1 parent 37701f3 commit fd973d7
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
ploidy_gq_column_name = "PLOIDY_GQ"

# column names for copy-number segments file
call_copy_number_column_name = "CALL_COPY_NUMBER"
num_points_column_name = "NUM_POINTS"
call_copy_number_column_name = "CALL_COPY_NUMBER"
quality_some_called_column_name = "QUALITY_SOME_CALLED"
quality_all_called_column_name = "QUALITY_ALL_CALLED"
quality_start_column_name = "QUALITY_START"
Expand All @@ -47,7 +47,8 @@
default_comment_char = "@"
default_delimiter_char = "\t"

# dtype dictionaries
# dtype dictionaries giving types of mandatory columns whose names are known ahead of time
# (some of these dictionaries are not currently used, but we define their formats for future reference)
interval_dtypes_dict = {
contig_column_name: str,
start_column_name: types.med_uint,
Expand Down Expand Up @@ -79,16 +80,18 @@
}

copy_number_segment_dtypes_dict = {
call_copy_number_column_name: types.small_uint,
**interval_dtypes_dict,
num_points_column_name: types.med_uint,
call_copy_number_column_name: types.small_uint,
baseline_copy_number_column_name: types.small_uint,
quality_some_called_column_name: types.floatX,
quality_all_called_column_name: types.floatX,
quality_start_column_name: types.floatX,
quality_end_column_name: types.floatX,
baseline_copy_number_column_name: types.small_uint
quality_end_column_name: types.floatX
}

denoised_copy_ratio_dtypes_dict = {
**interval_dtypes_dict,
denoised_copy_ratio_mean_column_name: types.floatX,
denoised_copy_ratio_std_column_name: types.floatX
}
Expand Down

0 comments on commit fd973d7

Please sign in to comment.