Giter Site home page Giter Site logo

untemplated-nucleotides-search's Introduction

Untemplated nucleotides search

Pipeline for detection of untemplated nucleotides from RNA-seq data

Requirements

  • cutadapt 2.8 with Python 3.8.10
  • bowtie 1.2.3
  • samtools 1.10
  • graphviz 2.43.0
  • seqtk 1.3
  • BBMap and default-jre
  • GPL Ghostscript 9.50
  • weblogo 3.7.8

How to run the pipeline on example dataset

cd example
snakemake -j 32 --snakefile ../Snakefile

For dry run without execution you can use

snakemake -j 32 --dry-run ../Snakefile

General recommendations

I recommend you to keep the following directories structure

|-analysis_name
  |
  |-data
  |  |
  |  |-reference*
  |  |-reads*
  |
  |-configs
  | |
  | |-config.yaml*
  |
  |-results
    |
    |--iter_0
    |  |
    |  |-trimmed_reads
    |  |-alignments
    |  | |
    |  | |-mapped
    |  | |-unmapped
    |  | 
    |  |-fastq_from_alignments
    |  | |-mapped
    |  | |-unmapped
    |  | 
    |  |-original
    |    |
    |    |-mapped
    |
    |--iter_1
    |--iter_n

Folders data/reference and data/reads should be preexisting and specified in config file.

Required files

configs/config.yaml must containg all necessary information about pipeline parameters (see example/configs/config.yaml)

data/reference must contain reference genome in fasta format

data/reads must contain reads in fastq format

Other folders will appear during the execution of pipeline.

Outputs

results/iter_*/trimmed_reads contains reads with 1 cuted base from 3' end

results/iter_*/alignments contains all mapped results, including mapped and unmapped alignments in bam format

results/iter_*/fastq contains fastq files extracted from bam

results/iter_*/original contains original non-trimmed reads in fasta fromat and their sequence logos for each length specified in config file

Create pipeline graph

snakemake --dag | dot -Tsvg > dag.svg

Without trimming

With trimming

snakemake --rulegraph | dot -Tsvg > rulegraph.svg

untemplated-nucleotides-search's People

Contributors

greenjune-ship-it 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.