Entering edit mode
4.8 years ago
Shicheng Guo
★
9.6k
Hi All,
Who can share a script to download human gene fasta/sequences for FGF1, FGF2, FGF3, FGF4, FGF5, FGF6 and FGF7 at the same time?
Thanks.
You can try using bedtools getfasta.
First obtain coordinates of the gene (eg. FGF1 and genome version hg19).
Run getfasta using fasta file hg19 version:
FGF1.fa will be your fasta sequence.
And you can do the same for other genes by making a shell script and it will extract all at the same time. Make a bed of file of all coordinates of the gene of your interest and run getfasta.