Dear Biostars users,
I have the hg38 genome fasta file and a bed file of all the introns (GENCODE V44) of the hg38 genome. I would like to get two fasta files: 1) a fasta file of the first 20nt of all the introns; and 2) a fasta file of the last 250nt of all the introns.
What tools (and command lines) should I use to generate these two output fasta files?
Thanks ahead,
Xiao
The example code is
bedtools flank [OPTIONS] -i <BED/GFF/VCF> -g <GENOME> [-b or (-l and -r)]
, in my case, can I use-l -20 and -r -250
? I wonder if I can use negative values (e.g. -20 or -250 in my case) followed the -l or -r. Thanks.You are covered on the left end. May need to create a BED with one base intervals with start and end of the introns. One entry for start and one for end.