File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22# Download and process data for a particular species from an Ensembl release, e.g.
33#
4- # download_ensembl mouse 95 <your_email> /srv/data/ensembl
4+ # download_ensembl mouse 95 <your_email> /srv/data/genome/mouse/ ensembl-95
55#
66# The script:
77# 1) Downloads top-level sequences for the species' genome in FASTA format
178178# Generating refFlat file for Picard RNA-seq metrics
179179mkdir -p picard
180180generate_picard_refFlat picard ${SPECIES} ${VERSION} ${gtf_file}
181+
182+ # Generating get_gene_lengths file
183+ echo " Running get_gene_lengths for species ...."
184+ get_gene_lengths ${gtf_file} > ./gene_lengths.csv
185+ # Construct transcript->gene mapping file for tximport
186+ awk ' $3=="transcript" {print $14, $10}' ${gtf_file} | sed ' s/"//g;s/;//g' > ./tx2gene.tsv
You can’t perform that action at this time.
0 commit comments