Showing posts with label BLAST. Show all posts
Showing posts with label BLAST. Show all posts

September 14, 2020

How to download FASTA files from NCBI

FASTA format

FASTA files are text files used to store sequence information. The format is 2 lines of text:

>title line starting with a greater-than sign

sequence with no double line breaks or special characters


FASTA file extensions are usually .fasta or .fa but can also be .txt because, either way, they are just text files. Open them as text files with Notepad. For large sequences, Notepad++ works better (more memory allocation). Word or any other text file reader will work as well.

September 13, 2020

How to BLAST a gene of interest (starting from the gene symbol)

 This is assuming you are starting from a gene symbol and don't have the sequence or accession ID yet. 


Step 1: search for your gene in NCBI's databases

Start with either NCBI Nucleotide or NCBI Gene. 

Search results for noncoding gene "XIST" in NCBI Gene, then clicking the "+" to expand the "RefSeq Sequences" section:


Luckily, there is only 1 reference transcript for XIST. For genes with several transcripts, either continue with all or pick some based on another criteria (e.g. which one is longest, which ones code for protein, which one is suggested as "RefSeq Select" or "canonical").

R programming lesson #2: merging pdf files

Use R package "pdftools" to merge separate pdf into one pdf file. You will never need to use sketchy websites or pay for software ...