Matt:LabNotes/exonProbeDesign: Difference between revisions

From ZhangLabWiki
Jump to navigation Jump to search
>Mzcai
(Created page with "--Finding constitutive exon target regions from gene list-- 1) Start with a list of genes of interest with Entrez IDs and Official Gene Symbols 2) Use Ensembl's Biomart on Ent...")
 
>Mzcai
No edit summary
Line 1: Line 1:
--Finding constitutive exon target regions from gene list--
==Finding constitutive exon target regions from gene list==
1) Start with a list of genes of interest with Entrez IDs and Official Gene Symbols
1) Start with a list of genes of interest with Entrez IDs and Official Gene Symbols
2) Use Ensembl's Biomart on Entrez ID list and output to TSV file
2) Use Ensembl's Biomart on Entrez ID list and output to TSV file
-Settings: Dataset
-Settings: Dataset
Line 24: Line 25:
3) Insert Entrez IDs into column 13 of Biomart output  
3) Insert Entrez IDs into column 13 of Biomart output  
-may need to use Biomart again with Attributes: Ensembl Gene ID, Ensembl Transcript ID, and EntrezGene ID and then Excel to VLOOKUP Entrez with Gene ID
-may need to use Biomart again with Attributes: Ensembl Gene ID, Ensembl Transcript ID, and EntrezGene ID and then Excel to VLOOKUP Entrez with Gene ID
4) Use original gene list (If chromosome and strand info available, can be used for checking genes match. If gene start/stop info available, also can be used. Only Symbol and Entrez necessary to run) and edited Biomart output to run ConstitutiveExonFinder.pl
4) Use original gene list (If chromosome and strand info available, can be used for checking genes match. If gene start/stop info available, also can be used. Only Symbol and Entrez necessary to run) and edited Biomart output to run ConstitutiveExonFinder.pl
-Finds the 5 regions with the most number of transcript overlaps
-Finds the 5 regions with the most number of transcript overlaps
Line 29: Line 31:
-Region must be greater than $minLength (default 100bp), which can be set in first line of code
-Region must be greater than $minLength (default 100bp), which can be set in first line of code
-Region must not have save start/end index as a previously found region (to prevent picking the same exon 5 times)
-Region must not have save start/end index as a previously found region (to prevent picking the same exon 5 times)
5) Remove Blank Lines and Duplicates
5) Remove Blank Lines and Duplicates
-Something about Biomart can create duplicates and blank lines sometimes, run RemoveBlankLinesandDuplicates.pl to clean up file if needed
-Something about Biomart can create duplicates and blank lines sometimes, run RemoveBlankLinesandDuplicates.pl to clean up file if needed
-If gene is duplicated with one corresponding to normal chromosome and the other to an assembly patch, assembly patch regions are removed
-If gene is duplicated with one corresponding to normal chromosome and the other to an assembly patch, assembly patch regions are removed
-For assembly patches that aren't duplicates, they are changed to chromosome number (e.g. HSCHR5_1_CTG1 is changed to Chr5)
-For assembly patches that aren't duplicates, they are changed to chromosome number (e.g. HSCHR5_1_CTG1 is changed to Chr5)
 
6) Find missing genes in target file
6) Find missing genes in target file
-Biomart sometimes misses genes from input
-Biomart sometimes misses genes from input
-Run FindMissingGenes.pl to identify missing genes and repeat biomart and ConstitutiveExonFinder.pl for those genes and add onto end of target file
-Run FindMissingGenes.pl to identify missing genes and repeat biomart and ConstitutiveExonFinder.pl for those genes and add onto end of target file
7) Sort target regions into separate files by chromosome number and remove 25 bp from each end with sortTargetFilesByChr.pl
7) Sort target regions into separate files by chromosome number and remove 25 bp from each end with sortTargetFilesByChr.pl
-MUST FIRST: 1. manually remove columns: Entrez ID, Overlap, and Transcript Ratio and move Strand column to end 2. Turn ExonEnd values from negative to positive values 3. Add 'chr' in front of Chromsome number (e.g. 18 -> chr18)
-MUST FIRST: 1. manually remove columns: Entrez ID, Overlap, and Transcript Ratio and move Strand column to end 2. Turn ExonEnd values from negative to positive values 3. Add 'chr' in front of Chromsome number (e.g. 18 -> chr18)
Line 42: Line 47:
-These are the target files for ppDesigner
-These are the target files for ppDesigner


--Running ppDesigner--
==Running ppDesigner==
Parameters:
Parameters:
probe_parameters.pl
probe_parameters.pl
Line 61: Line 66:
If gap size is 0
If gap size is 0
$targetMinLen = 1
$targetMinLen = 1
*for probes of gap size 0, add the single base gap to the left probe arm using ConvertToZeroGapProbe.pl
*for probes of gap size 0, add the single base gap to the left probe arm using ConvertToZeroGapProbe.pl
--Generated Probes Summary--
==Generated Probes Summary==


*For 86 stem genes missing
*For 86 stem genes missing

Revision as of 20:23, 7 December 2012

Finding constitutive exon target regions from gene list

1) Start with a list of genes of interest with Entrez IDs and Official Gene Symbols

2) Use Ensembl's Biomart on Entrez ID list and output to TSV file -Settings: Dataset Homo sapiens genes (GRCh37.p8) Filters EntrezGene ID(s) [e.g. 100287163]: [ID-list specified] Status (transcript) : KNOWN Attributes Ensembl Gene ID Ensembl Transcript ID Exon Chr Start (bp) Exon Chr End (bp) Ensembl Exon ID Exon Rank in Transcript Constitutive Exon Associated Gene Name Strand Gene Start (bp) Gene End (bp) Transcript count Chromosome Name

3) Insert Entrez IDs into column 13 of Biomart output -may need to use Biomart again with Attributes: Ensembl Gene ID, Ensembl Transcript ID, and EntrezGene ID and then Excel to VLOOKUP Entrez with Gene ID

4) Use original gene list (If chromosome and strand info available, can be used for checking genes match. If gene start/stop info available, also can be used. Only Symbol and Entrez necessary to run) and edited Biomart output to run ConstitutiveExonFinder.pl -Finds the 5 regions with the most number of transcript overlaps -Conditions for finding regions: -Region must be greater than $minLength (default 100bp), which can be set in first line of code -Region must not have save start/end index as a previously found region (to prevent picking the same exon 5 times)

5) Remove Blank Lines and Duplicates -Something about Biomart can create duplicates and blank lines sometimes, run RemoveBlankLinesandDuplicates.pl to clean up file if needed -If gene is duplicated with one corresponding to normal chromosome and the other to an assembly patch, assembly patch regions are removed -For assembly patches that aren't duplicates, they are changed to chromosome number (e.g. HSCHR5_1_CTG1 is changed to Chr5)

6) Find missing genes in target file -Biomart sometimes misses genes from input -Run FindMissingGenes.pl to identify missing genes and repeat biomart and ConstitutiveExonFinder.pl for those genes and add onto end of target file

7) Sort target regions into separate files by chromosome number and remove 25 bp from each end with sortTargetFilesByChr.pl -MUST FIRST: 1. manually remove columns: Entrez ID, Overlap, and Transcript Ratio and move Strand column to end 2. Turn ExonEnd values from negative to positive values 3. Add 'chr' in front of Chromsome number (e.g. 18 -> chr18) -Final column order should look like: GeneSymbol_# Chr ExonStart ExonEnd Strand -Remove 25bp from each end because 25bp is the max length of probe arm and this avoid the probe annealing to a splice junction -These are the target files for ppDesigner

Running ppDesigner

Parameters: probe_parameters.pl $primerMaxTm = 65 $primerMinTm = 55 $flankingLn = 25

jobFile.pl $primerMaxLen = 25 $primerMinLen = 20 $H1_plus_H2_Len = 50 $H2OptLen = 22 $H1OptLen = 22

If gap size is 20 $targetMinLen = 21

If gap size is 0 $targetMinLen = 1 *for probes of gap size 0, add the single base gap to the left probe arm using ConvertToZeroGapProbe.pl


Generated Probes Summary

  • For 86 stem genes missing

-got cDNA sequences from biomart -designed probes for these transcripts (903 total, some genes had as many as 39 transcripts, average was 10) PPPDE2 -> DESI1 SIP1 -> GEMIN2 -if multiple transcripts, designed probes for each one naming them v1, v2, etc -Result: ~2,800 0gap probes and ~3,000 20gap probes