Skip to content

Commit

Permalink
fix inconsitency bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
lerch-a committed Dec 19, 2024
1 parent 0b104de commit 9f842b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions R/minION_function.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ demultiplexByMarkerMinION <- function (sampleTable, markerTable, outputDir, trim
}))
resM <- merge.data.frame(sampleTable[, c("SampleID", "SampleName",
"BarcodePair")], resM, by = c("SampleID", "BarcodePair"))
# temporary fix of historical issues
sampleTable$ReadFile <- sampleTable$FileR1
sampleTable$FileR1 <- NULL
return(resM)
}

Expand Down
6 changes: 2 additions & 4 deletions docs/documentation/minIonDR_workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To install HaplotypR start R and first install ShortRead and dada2 by typing:
```R
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c("ShortRead","dada2")
BiocManager::install(c("ShortRead","dada2"))
```

Then install devtools by typing
Expand Down Expand Up @@ -116,11 +116,9 @@ write.csv(finalTab, file=file.path(outputDir, "finalHaplotypList_vMinION.csv"),

Calculate mismatch rate and call SNPs
```R
dePlexMarker <- dePlexMarker[dePlexMarker$]

refSeq <- DNAStringSet(markerTab$ReferenceSequence)
names(refSeq) <- markerTab$MarkerID
snpLst <- createSNPsList(outputDir, sampleTable=dePlexMarker, markerTable=markerTab, refSeq=refSeq, postfix=postfix)
snpLst <- createSNPsList(outputDir, sampleTable=dePlexMarker, markerTable=markerTab, refSeq=refSeq)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/minIon_workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To install HaplotypR start R and first install ShortRead and dada2 by typing:
```R
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c("ShortRead","dada2")
BiocManager::install(c("ShortRead","dada2"))
```

Then install devtools by typing
Expand Down

0 comments on commit 9f842b7

Please sign in to comment.