Skip to content

Merge GS-Amat support to development#153

Merged
alex-sandercock merged 8 commits into
developmentfrom
GS-Amat
May 18, 2026
Merged

Merge GS-Amat support to development#153
alex-sandercock merged 8 commits into
developmentfrom
GS-Amat

Conversation

@alex-sandercock
Copy link
Copy Markdown
Collaborator

@alex-sandercock alex-sandercock commented Mar 13, 2026

  • Adding support for Amat in the GS section
  • UI updates made to the Convert to VCF module to support more species and processing pathways

@alex-sandercock alex-sandercock requested a review from Copilot March 13, 2026 12:49
@alex-sandercock alex-sandercock self-assigned this Mar 13, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 15 changed files in this pull request and generated 6 comments.

Files not reviewed (1)
  • man/polyRAD2vcf.Rd: Language not supported

Comment thread R/mod_dosage2vcf.R
Comment on lines +52 to 94
choices = list("Target"= "target", "Target + Off-Target" = "target_off", "Microhaplotypes" = "multiallelic"),
selected = "target"),
selectInput(ns('species'),
label = 'Species',
choices = c("alfalfa","blueberry", "cranberry", "cucumber", "lettuce", "pecan", "sweetpotato", "other"),
choices = c("alfalfa", "blueberry", "cranberry", "cucumber", "pecan", "potato", "strawberry", "sweetpotato", "other"),
selected = "alfalfa"),
conditionalPanel(condition = "input.snp_type == 'target_off'",
ns = ns,
conditionalPanel(condition = "input.species == 'other'",
ns = ns,
fileInput(ns("botloci_file"), "Upload bottom strand probes file (.botloci)"),
fileInput(ns("hapDB_file"), "Upload haplotype database file (fasta) (optional)"),
fileInput(ns("markers_info_file"), "Upload markers information (_lut.csv from HapApp) (optional)"),
),
fileInput(ns("hapDB_file"), "Upload haplotype database file (fasta) (optional)"),
sliderInput(ns("cores"), "Number of CPU Cores", min = 1, max = (availableCores() - 1), value = 1, step = 1)
sliderInput(ns("cores"), "Number of CPU Cores", min = 1, max = max(1, availableCores() - 1), value = 1, step = 1), br(),
div(
style = "text-align: left; margin-top: 10px;",
actionButton(ns("advanced_options_all"),
label = HTML(paste(icon("cog", style = "color: #007bff;"), "Advanced Options")),
style = "background-color: transparent; border: none; color: #007bff; font-size: smaller; text-decoration: underline; padding: 0;"
)
)
),
conditionalPanel(condition = "input.snp_type == 'target'",
ns = ns,
radioButtons(ns("collapse_matches_counts"),
label = "Collapse Matches Counts:",
choices = list("Yes"= TRUE, "No" = FALSE),
selected = FALSE),
conditionalPanel(condition = "input.species == 'other'",
ns = ns,
radioButtons(ns("ref_alt"),
label = "Extract REF and ALT info:",
choices = list("Yes"= "TRUE", "No" = "FALSE"),
selected = "TRUE"),
choices = list("Yes"= TRUE, "No" = FALSE),
selected = TRUE),
conditionalPanel(condition = "input.ref_alt == 'TRUE'",
ns = ns,
fileInput(ns("botloci_file"), "Upload bottom strand probes file (.botloci)"),
fileInput(ns("hapDB_file"), "Upload haplotype database file (fasta) (optional)"),
fileInput(ns("markers_info_file"), "Upload markers information (_lut.csv from HapApp) (optional)"),
)
)
)
Comment thread R/mod_dosage2vcf.R
verbose = TRUE)
} else if(input$snp_type == "target"){
madc2vcf_targets(read_madc, output_name, get_REF_ALT = as.logical(input$ref_alt), botloci_file = botloci,
markers_info = markers_info, collapse_matches_counts = input$collapse_matches_counts)
Comment thread R/mod_dosage2vcf.R
Comment on lines +481 to +486
madc2vcf_multi(
madc_file = read_madc,
botloci_file = botloci,
outfile = output_name,
markers_info = markers_info,
ploidy = 4L,
Comment thread R/mod_dosage2vcf.R
@@ -268,106 +431,101 @@ mod_dosage2vcf_server <- function(input, output, session, parent_session){
showCancelButton = FALSE,
animation = TRUE
)
Comment thread R/mod_dapc.R

error_if_true <- c(
"multiallelics", "phased_GT", "mixed_ploidies",
Comment thread R/mod_dosage2vcf.R
Comment on lines 83 to 92
radioButtons(ns("ref_alt"),
label = "Extract REF and ALT info:",
choices = list("Yes"= "TRUE", "No" = "FALSE"),
selected = "TRUE"),
choices = list("Yes"= TRUE, "No" = FALSE),
selected = TRUE),
conditionalPanel(condition = "input.ref_alt == 'TRUE'",
ns = ns,
fileInput(ns("botloci_file"), "Upload bottom strand probes file (.botloci)"),
fileInput(ns("hapDB_file"), "Upload haplotype database file (fasta) (optional)"),
fileInput(ns("markers_info_file"), "Upload markers information (_lut.csv from HapApp) (optional)"),
)
Copy link
Copy Markdown
Collaborator Author

@alex-sandercock alex-sandercock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

existing changes from previous branch review

@alex-sandercock
Copy link
Copy Markdown
Collaborator Author

Re-run the checks after BIGr v0.7.2 is finished being available on CRAN for ubuntu distros

@alex-sandercock alex-sandercock merged commit 6452be5 into development May 18, 2026
6 of 12 checks passed
@alex-sandercock alex-sandercock deleted the GS-Amat branch May 19, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants