Giter Site home page Giter Site logo

rad-scripts's Introduction

rad-scripts

We foster the openness, integrity, and reproducibility of scientific research.

Various scripts and tools to process RAD-sequences

Associated publication

under-submission

How to use this repository?

This repository host, various scripts and tools to process RAD-sequences. Feel free to adapt the scripts and tools, but remember to cite their authors!

To look at our scripts, browse through this repository. If you want to use some of the scripts, you will need to clone this repository. If you want to use our scripts for our own research, fork this repository and cite the authors.

Available scripts (so far)

  • ddRAD_enzyme.pl: A very simple bioperl script predicting the distribution of the fragment length after a ddRAD.
#Download a genome (e.g. Myotis lucifugus)
wget ftp://ftp.ensembl.org/pub/release-84/fasta/myotis_lucifugus/dna/Myotis_lucifugus.Myoluc2.0.dna.toplevel.fa.gz
gunzip Myotis_lucifugus.Myoluc2.0.dna.toplevel.fa.gz

#List of all the possible fragments produced by the association of SbfI and SphI
./ddRAD_enzyme.pl -i Myotis_lucifugus.Myoluc2.0.dna.toplevel.fa -2 SbfI -1 SphI > cuts.SbfI_SphI.txt

#List of all the possible fragments available for a ddRAD - (SbfI------SphI)
./ddRAD_enzyme.pl -i Myotis_lucifugus.Myoluc2.0.dna.toplevel.fa -2 SbfI -1 SphI -rad > rad.SbfI_SphI.txt
  • find_pattern.pl: Test for diagnostic alleles or patterns between populations using raw STACKS RAD outputs
#extented help (PLEASE READ IT)
./find_pattern.pl

#Simple test
./find_pattern.pl --haplotypes batch_1.haplotypes.tsv --population pop.txt -v --group 2 -d

  • needle_matrix.pl: use EMBOSS/needle aligner to perform all pairwise comparison and report similarity or identity values.
#extented help (PLEASE READ IT)
./needle_matrix.pl

#Simple test
./needle_matrix.pl --in sequences_AA.fa --db sequences_AA.fa -s >results.tsv

Issues

If you have any problems with or questions about the scripts, please contact us through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

License and distribution

This code is distributed under the GNU GPL license v3. The documentation, raw data and work are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.โ€‹

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.