Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: yeast_rna to yeast_rnaseq folder

...

Code Block
languagebash
titleLook at GFF annotation entries with less
mkdir -p $SCRATCH/core_ngs/bedtools
cd $SCRATCH/core_ngs/bedtools 
cp $CORENGS/yeast_rnaseq/sacCer3.R64-1-1_20110208.gff . 
cp $CORENGS/yeast_rnarnaseq/yeast_mrna.sort.filt.bam* .

# Use the less pager to look at multiple lines
less sacCer3.R64-1-1_20110208.gff

# Look at just the most-important Tab-separated columns
cat sacCer3.R64-1-1_20110208.gff | grep -v '#' | cut -f 1,3-5 | head -20

# Include the ugly 9th column where attributes are stored
cat sacCer3.R64-1-1_20110208.gff | grep -v '#' | cut -f 1,3,9 | head

...

Expand
titleSetup (if needed)


Code Block
languagebash
mkdir -p $SCRATCH/core_ngs/bedtools
cd $SCRATCH/core_ngs/bedtools
cp $CORENGS/yeast_rnarnaseq/*.gff .



Code Block
languagebash
titleConvert GFF to BED with BioITeam script
/work/projects/BioITeam/common/script/gtf_to_bed.pl sc_genes.gff 1 \
  > sc_genes.converted.bed

...

Expand
titleSetup (if needed)


Code Block
languagebash
mkdir -p $SCRATCH/core_ngs/bedtools
cd $SCRATCH/core_ngs/bedtools
cp $CORENGS/yeast_rnarnaseq/*.gff .
cp $CORENGS/yeast_rnarnaseq/sc_genes* .


Exercise: How many genes in our sc_genes.bed file are in each category?

...

Code Block
languagebash
titleSetup for BEDTools exercises
# To catch up...
mkdir -p $SCRATCH/core_ngs/bedtools
cd $SCRATCH/core_ngs/bedtools
cp $CORENGS/yeast_rnarnaseq/sc_genes.bed* . 
cp $CORENGS/yeast_rnarnaseq/*.gff .

# Copy the BAM file
cd $SCRATCH/core_ngs/bedtools
cp $CORENGS/yeast_rnarnaseq/yeast_mrna.sort.filt.bam* .

...

Expand
titleSetup (if needed)


Code Block
languagebash
idev -m 120 -N 1 -A OTH21164 -r CoreNGSday5
module load biocontainers
module load samtools
module load bedtools

mkdir -p $SCRATCH/core_ngs/bedtools
cd $SCRATCH/core_ngs/bedtools
cp $CORENGS/yeast_rnarnaseq/*.gff .
cp $CORENGS/yeast_rnarnaseq/sc_genes.bed* .
cp $CORENGS/yeast_rnarnaseq/yeast_mrna.sort.filt.bam* .


...

Expand
titleSetup (if needed)


Code Block
languagebash
mkdir -p $SCRATCH/core_ngs/bedtools
cd $SCRATCH/core_ngs/bedtools
cp $CORENGS/yeast_rnarnaseq/*.gff .
cp $CORENGS/yeast_rnarnaseq/sc_genes.bed* .
cp $CORENGS/yeast_rnarnaseq/yeast_mrna.sort.filt.bam* .
module load biocontainers
module load bedtools


...