Exchange pattern and subject in the alignment
This commit is contained in:
parent
dd9f7ffde4
commit
82fdfdc6b9
|
@ -35,8 +35,8 @@ construct_full_sequences <- function(vdj_segments, metadata) {
|
||||||
|
|
||||||
align_sequence <- function(sequence, vdj_segment) {
|
align_sequence <- function(sequence, vdj_segment) {
|
||||||
return(Biostrings::pairwiseAlignment(
|
return(Biostrings::pairwiseAlignment(
|
||||||
pattern = sequence,
|
subject = sequence,
|
||||||
subject = vdj_segment,
|
pattern = vdj_segment,
|
||||||
type = "global-local",
|
type = "global-local",
|
||||||
gapOpening = 1,
|
gapOpening = 1,
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue