Git Product home page Git Product logo

sbash_script's Introduction

sbash_script

#!/bin/bash

SECONDS=0

#STEP 1: Run fastqc

cd /truba/home/sbuyukkilic/fastqc_tool/Analysis_test #location of fastq files

/truba/home/sbuyukkilic/sequana/FastQC/fastqc SRR22016661.fastq

#check quality of fastq file look at html file

#run trimmomatic for trim low quality of bases

java -jar /truba/home/sbuyukkilic/trimmomatic/Trimmomatic-0.39/trimmomatic-0.39.jar PE SRR22016661_1.fastq.gz SRR22016661_2.fastq.gz SRR22016661_1_trimmed.fastq SRR22016661_1.untrimmed.fastq SRR22016661_2 _2.trimmed.fastq SRR22016661_2.untrimmed.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:30:10:2:True LEADING:3 TRAILING:3 MINLEN:3

echo "Trimmomatic finished running!" #Run fastqc again

/truba/home/sbuyukkilic/sequana/FastQC/fastqc SRR22016661_1_trimmed.fastq SRR22016661_2.trimmed.fastq

STEP 2: Run STAR

/truba/home/sbuyukkilic/STAR-2.7.10b/bin/Linux_x86_64_static/./STAR --runThreadN 150 --genomeDir /truba/home/sbuyukkilic/STAR --readFilesIn SRR22016661_1.fastq.gz SRR22016661_2.fastq.gz --outFileNamePrefix ./align/SRR22016661_1.fastq.gz SRR22016661_2.fastq.gz –outBAMtype BAM SortedByCoordinate –quantMode GeneCounts

STEP 3: Run featureCounts - Quantification

/truba/home/sbuyukkilic/fastqc_tool/subread-1.5.3-Linux-x86_64/bin/featureCounts -a /truba/home/sbuyukkilic/files/gencode.v42.annotation.gtf -o /truba/home/sbuyukkilic/fastqc_tool/readCount/SRR22016661_counts.txt /truba/home/sbuyukkilic/fastqc_tool/align/SRR22016661_1.fastqAligned.out.sam

duration=$SECONDS echo "$(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."

work on R

sbash_script's People

Contributors

ibgsehriban avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.