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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nanophaser-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 586f9ed324ec544c17ec5ceb469b103c73be82ca24da08fbfc468347b883bfd8
MD5 3c218cada75a18c09453bb6997f62736
BLAKE2b-256 f6f9c68c97e09a8d221c5ad898ec79f7fd8c9b6e43f30fbc1b495f6382543871

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nanophaser-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9561aca3acd96b6c15952c05548b6d0ddca0c3c969e2d6eca85a31bce5806fde
MD5 89d1c39627e02360394cd9c057b51a80
BLAKE2b-256 85091bc9a5c8e7fa8d22a8291015e016da587dd9dfbc972ee2d93d6ebc96f2d6

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