Skip to main content

No project description provided

Project description

MHC_central

Install

# Create a new conda environment
conda create -c conda-forge -yn phaser minimap2 minipileup samtools longshot blast pywgsim python
pip3 install git+https://github.com/rrwick/Badread.git

then install nanophaser:

pip install nanophaser

Install for development

pip install --editable .

Usage

  1. Generate BAM from the fastq file in the test folder (*put commands in the makefile)

  2. Move your code so that it runs as some nanophaser command

  3. Add the commands to the Makefile

nanophaser run

Evaluation

nanophaser loop -n 1000 | parallel --eta --verbose 
``


## Reference 

Location of the reference files:

https://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Bos_taurus/reference/GCF_002263795.3_ARS-UCD2.0/

    wget https://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Bos_taurus/all_assembly_versions/suppressed/GCF_000003055.6_Bos_taurus_UMD_3.1.1/GCF_000003055.6_Bos_taurus_UMD_3.1.1_genomic.fna.gz

## Installation steps

    conda install nanoplot


## Quality control

Run nanoplot on the MinION data

## Fast way to create csv file and copy all the files names

    Go into the directory, ls >test.csv to store everything into this csv file

## Choose one of the following method BWA or Minimap2, Use BWA for short reads, Minimap2 for assemblies or long reads.

## Create Genome BWA Index (Only one time for lignment BWA)

    bwa index ~/refs/GCF_002263795.3_ARS-UCD2.0_genomic.fna 

## Alignment BWA 

    bwa mem -x ont2d ~/refs/GCF_002263795.3_ARS-UCD2.0_genomic.fna reads/demo.fq.gz | samtools sort --write-index -o bam/demo_bwa.bam

## Alignment Minimap2 

    minimap2 -t 6 -a -x splice ~/refs/GCF_002263795.3_ARS-UCD2.0_genomic.fna reads/demo.fq.gz | samtools sort --write-index -o bam/demo.bam

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nanophaser-0.1.0.tar.gz (8.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nanophaser-0.1.0-py3-none-any.whl (8.8 MB view details)

Uploaded Python 3

File details

Details for the file nanophaser-0.1.0.tar.gz.

File metadata

  • Download URL: nanophaser-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for nanophaser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15ab3c0ecaa9bcb5a86a107e4b4e621ff3d13240d2c1c58ae692f100dbbf619b
MD5 546776b7ebcf0cd9a64d19fc552712d6
BLAKE2b-256 183dccee9462ddbf1ba37ef3b5c091691b3d658316b15deac0e2e255a35e9e35

See more details on using hashes here.

File details

Details for the file nanophaser-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nanophaser-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for nanophaser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0331044f08ea5e6e45c664febc550addf5bb88a31ed32100ef9333e9890a4257
MD5 719bf45c5c4425413621c2cff7514b2b
BLAKE2b-256 2ad0404a6570ad8067c1cfb12764883fe52327cd5d5edf1402149980e3fe3ce8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page