extract first and last n bp from fasta file from multiple fasta file in R
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Covert multiple short sequence into list of IUPAC motif
written by praasu •Hi, I have approximately 200 four nucleotide base sequences, I want to cluster them into various repeat/motif and get final IUPAC notation of them. For …
-
comparing the intron/ intron location with the reference transcript in the orthologous transcripts
written by praasu •Hi Guys. I have 7 (1 reference and 6 I have annotated) genome assembly and annotation. I have identified the orthologous transcripts between the reference …
-
How can I identity Branch point sequence from Intron?
written by praasu •Dear All, I have DNA-seq and RNA-seq of novel protista. I have assembled the transcripts with Stringtie and extracted the list of intron. I would …
-
Validating splice site using protein sequence
written by praasu •Dear All, I have assembled genome and RNA-seq with some novel protista genome. I have aligned the raw RNA-seq reads to genome and assembled the …
-
Software for multiple sequence alignment?
written by AnkitHi all, I have a fasta file for my read sequences. The reads are about 250 bp . I am looking for a software which …
-
Where I can find splice-leader (SL) sequence set ?
written by praasu •Hi everyone, I would like to obtain the sl-leader sequence from various species ( such asTrypansoma, c.elegans, Euglena etc). Could you please let me know, …
-
How to extract the first and last 2 nt from multiple sequences in a FASTA file?
written by praasu •Hi Everyone, I have multiple intron sequence fasta file. I would like to extract first and last 2 nucleotide sequence from that file. Please let …
-
how to extract intron coordinates (in bed) from bam
written by praasu •I have aligned raw RNA-seq reads against a reference genome with STAR. I would like to extract the intronic coordinates from obtained bam files. Any …
-
How to extract the first and last N bases from a read in a fastq file?
written by lovegenetics •how can I extract the first and last N bases from a read in a fastq file? I have used the following command to extract …
-
Extracting Intron-Exon Reads from bam files
written by praasu •I would like to extract intron-exon reads (unspliced reads) from bam file. I tried use the with following command command, bedtools intersect -s -F 1 …
Its not an answer but suggestion. Seqkit's subseq command does this. e.g. https://bioinf.shenwei.me/seqkit/tutorial/#play-with-mirna-hairpins
If you really want to do it in R you would want to loop over as you stream the file or else it would hog your memory really bad. Or you can call seqkit with system :).
https://stackoverflow.com/questions/42492351/stream-processing-large-csv-file-in-r
https://stackoverflow.com/questions/12626637/read-a-text-file-in-r-line-by-line
OP asked the exact same question 2 years ago and got the seqkit subseq answer from shenwei himself. Really odd behavior.