Add space to sequence ID for easier parsing
This commit is contained in:
parent
35406497a3
commit
fb5d781c66
|
@ -13,7 +13,7 @@ generate_repertoire <- function(number_of_sequences) {
|
||||||
process_data <- function(data) {
|
process_data <- function(data) {
|
||||||
dna_sequence <- Biostrings::DNAStringSet(data$sequence)
|
dna_sequence <- Biostrings::DNAStringSet(data$sequence)
|
||||||
data$sequence <- Biostrings::reverseComplement(dna_sequence)
|
data$sequence <- Biostrings::reverseComplement(dna_sequence)
|
||||||
names(data$sequence) <- paste(rownames(data), data$v_call, data$j_call)
|
names(data$sequence) <- paste(rownames(data), data$v_call, data$j_call, " ")
|
||||||
Biostrings::writeXStringSet(data$sequence, "data/sequence.fasta")
|
Biostrings::writeXStringSet(data$sequence, "data/sequence.fasta")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue