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.2.1.post0.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.2.1.post0-py3-none-any.whl (8.8 MB view details)

Uploaded Python 3

File details

Details for the file nanophaser-0.2.1.post0.tar.gz.

File metadata

  • Download URL: nanophaser-0.2.1.post0.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.2.1.post0.tar.gz
Algorithm Hash digest
SHA256 70011afd4a052f4cfbbe8f2f23323af94e79a936ab28acf75b21f3ca9d4d7b6a
MD5 833aa9b900df33ad61581d94a0dae827
BLAKE2b-256 0f7d33388500f4667f33dcd635e1e7744d98f969c7baf9583ee378012f391b3e

See more details on using hashes here.

File details

Details for the file nanophaser-0.2.1.post0-py3-none-any.whl.

File metadata

File hashes

Hashes for nanophaser-0.2.1.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1bbf0e194c6809c55d621cb8bd084f24ade703c0bc655cae78ba9fcdacf8436
MD5 819c9b805a5a3f8d3e2932febf0cffe6
BLAKE2b-256 2e5f2b32d674c2e0bafd95102b0193e36ee7b8f7862ac91ad88cc5ac97c3fe7b

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