python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Compare values present in two data frames with the usage of sliding window function in R
We have two data frames
Data frame 1
sl no. Segment_name Segment
1 Segment1 AACG
2 Segment2 ACTG
3 Segment3 GTCA
Data frame 2
sl no. Dinucleotides Free energy Values
1 ...
Maharshi
Votes: 0
Answers: 1
Move new line character 5 positions downstream in a text (fasta) file
I am trying to transform a text file like this (fasta format):
>seq1
AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA
ATGATGATGGAATGAGGAT
TTAGGAGGGAGGAAAATTC
>seq2
CCCTCCGGGAAAAAAGAGG...
Jeni
Votes: 0
Answers: 4
How do I upload a FASTA file to R if it contains multiplexed data?
I was hoping to use the seqinr method to upload FASTA files to R for analysis. However, they are multiplexed sequences.
library(seqinr)
dnafile <- system.file("sra_data-3.fasta", package...
hank00000
Votes: 0
Answers: 1
Get ID and protein sequences in biopython
I have this code.
from Bio import SeqIO
for seq_record in SeqIO.parse("aminoacids.txt", "fasta"):
print(seq_record.id)
print(repr(seq_record.seq))
Output:
NP_414584.1
Seq('MNT...
arteagavskiy
Votes: 0
Answers: 1