GithubHelp home page GithubHelp logo

jmtsuji / tellread_format_conversion Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 21 KB

Simple scripts for handling the output of the TELL-Read pipeline

License: BSD 3-Clause "New" or "Revised" License

Python 62.78% Shell 37.22%

tellread_format_conversion's Introduction

tellread_format_conversion

Simple scripts for manipulating the format of the TELL-Read pipeline's output sequence files

All scripts can be run through the Linux command line.

Contents

add_tellread_index_to_fastq.py

Adds the index sequences (output by the TELL-Read pipeline as a separate FastQ file) to the comment line of the R1 and R2 FastQ files.

Dependencies

  • python >= 3
  • biopython >= 1.76

Installation

First, add the script to your PATH. Then, install all dependencies. If using conda:

conda create -n add_tellread_index_to_fastq -c conda-forge \
  python=3 biopython=1.76

conda activate add_tellread_index_to_fastq

Testing

If interested, run the automated end-to-end test with:

testing/test_add_tellread_index_to_fastq.sh \
  testing

Usage

Example usage (test data in repo):

# Assuming you are in the Github repo directory
input_dir="testing/inputs"

add_tellread_index_to_fastq.py \
  -i "${input_dir}/R1.fastq.gz" \
  -j "${input_dir}/R2.fastq.gz" \
  -k "${input_dir}/I1.fastq.gz" \
  -o "${output_dir}/${test_ID}_R1_out.fastq" \
  -p "${output_dir}/${test_ID}_R2_out.fastq"

run add_tellread_index_to_fastq.py -h for full usage instructions.

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.