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

Cran release #8

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: DEploid.utils
Title: Utility Functions for 'DEploid' Data Analysis and Results Interpretation
Version: 0.0.0.9000
Version: 0.0.1
Authors@R:
person("Joe", "Zhu", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-7566-2787"))
Description: 'dEploid' is designed for deconvoluting mixed genomes with unknown
Description: 'DEploid' is designed for deconvoluting mixed genomes with unknown
proportions. Traditional ‘phasing’ programs are limited to diploid organisms.
Our method modifies Li and Stephen’s algorithm with Markov chain Monte Carlo
(MCMC) approaches, and builds a generic framework that allows haloptype
Expand All @@ -22,7 +22,6 @@ Suggests:
rmarkdown(>= 1.6),
circlize,
testthat (>= 0.9.0)
VignetteBuilder: knitr
LinkingTo: Rcpp
RoxygenNote: 7.3.2
Encoding: UTF-8
Expand Down
2 changes: 1 addition & 1 deletion man/DEploid.utils-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/vcf/vcfReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,10 @@ void VariantLine::extract_field_VARIANT() {
alt = maybe_dot_to_integer(alt_AD);
break;
}
catch (std::exception& e) {
std::cerr << "Error parsing vcf AD field: '"
<< adStr << "': " << e.what() << "\n";
//exit(1);
catch (const std::exception& e) {
throw std::runtime_error(
"Error parsing vcf AD field: '" +
adStr + "': " + e.what() + "\n");
}
}
feild_start = field_end+1;
Expand Down
Loading