Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

rami3l/Ferret

Repository files navigation

Ferret

Java Version Gradle Version Javadoc Release License

A user-friendly tool to extract data from the 1000 Genomes Project.


Contents


Features

  • Query the 1000 Genomes project server:
    • By locus directly, or by gene/SNP (locus information retrieved from NCBI)
    • From a selection of populations worldwide
  • Generate a selection of the following files:
    • .ped: The PLINK/MERLIN/Haploview text pedigree + genotype table file.
    • .map: The PLINK text fileset variant information file, usually used with a .ped file.
    • .info: The Haploview map file, usually used with a .ped file.
    • .frq: The allele frequency report file.

Getting Started

As a portable, self-contained .jar executable, no installation is required to build or use Ferret as long as you have the latest JDK (v17 as of March 2022) installed.

Prebuilt Executable

  • Download the .jar from the releases page.

Build From Source

  • To try out this application, just execute:

    ./gradlew run
  • To build a fat .jar executable under ./build/libs:

    ./gradlew jar

Uninstallation

No explicit uninstallation process is required.

However, it might be useful to delete the cache folder at ~/.config/ferret.

References

Ferret v3 wouldn't be possible without the previous PAPPL projects of our classmates:

How to add a new phase

Add the sample (population) data

In the sample folder add a new phase file (see existing phase files). Only the 3 first columns are needed, and reference it in the phaseList.txt file (in the same folder) : the first column is the name of the phase, the second column specify how the phase will be displayed in the interface (in the settings frame), and the third column is the name of the phase file.
The columns must be separated with a ":". The third column is optional: if you don't specify it, the corresponding phase will be displayed as disabled in the setting frame. It can be useful to add a phase before having the phase file, or the 1kg information (but its interest is limited).

Add the 1kg path and filename template

Finally, you must add the path and the filename template of the phase in the server.properties file (1kg.phasename.path & 1kg.phasename.filename). The filename is a template because it changes for each chromosome. All "{0}" part in the filename are replaced by the chromosome during the execution of Ferret.

About

A user-friendly tool to extract data from the 1000 Genomes Project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages