Skip to content

Commit

Permalink
Fixed secondary megalodon format detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Shians committed Feb 8, 2021
1 parent 3eac6fd commit ef2e8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/convert_methy_format.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ guess_methy_source <- function(methy_file) {
"chromosome\tstart\tend\tread_name\tlog_lik_ratio\tlog_lik_methylated\tlog_lik_unmethylated\tnum_calling_strands\tnum_cpgs\tsequence" = "f5c",
"chromosome\tstrand\tstart\tend\tread_name\tlog_lik_ratio\tlog_lik_methylated\tlog_lik_unmethylated\tnum_calling_strands\tnum_motifs\tsequence" = "nanopolish",
"read_id\tchrm\tstrand\tpos\tmod_log_prob\tcan_log_prob\tmod_base\tmotif" = "megalodon",
"read_id\tchrm\tstrand\tpos\tmod_log_prob\tcan_log_prob\tmod_base\tmod_base" = "megalodon",
"read_id\tchrm\tstrand\tpos\tmod_log_prob\tcan_log_prob\tmod_base" = "megalodon",
stop("Format not recognised.")
)
}
Expand Down

0 comments on commit ef2e8f3

Please sign in to comment.