-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Results.R script for generating data for Labware 8 #51
base: main
Are you sure you want to change the base?
Conversation
First commit of the Results.R script for LawWare 8. Please review. |
base_path<-config$paths$covidseq_base | ||
|
||
args = commandArgs(trailingOnly=T) | ||
args[1]<-c("UT-VH00770-250214") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be changed for each run?
# saving results | ||
write.table(results,paste("/Volumes/NGS/Analysis/covidseq/",args[1],"/",args[1], | ||
"FinalResults.txt",sep=""), sep = ',', row.names = F, col.names = T, eol="\r\n", quote = F) | ||
|
||
write.table(results,paste("/Volumes/NGS/Analysis/covidseq/",args[1],"/",args[1], | ||
"FinalResults.csv",sep=""), sep = ',', row.names = F, col.names = T, eol="\r\n", quote = F) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are there two files?
library("data.table");library("dplyr");library("utils"); | ||
library("lubridate");find("read.table");library("readr"); | ||
|
||
config<-read_yaml("config.yml") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we going to be editing the config file a lot?
library("data.table");library("dplyr");library("utils"); | ||
library("lubridate");find("read.table");library("readr"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these installed in prod already?
Could you add a paragraph in the readme about how and when to use this script? |
This PR introduces the Results.R script, which extracts and formats sequencing data for Labware 8. The output includes these fields: LIMS_TEST_ID, Run Name, Submission ID, Non-Ambiguous Bases, Nextclade Clade, and Lineage. This script ensures that the necessary data is structured appropriately for integration into Labware 8.