create_genome: create_genome

View source: R/create_genome.R

create_genomeR Documentation

create_genome

Description

create_genome creates two sets of genomes for every individual
It takes a fasta genome file and genotype object as hapmap file.
For every individual in the genotype file, two genome fasta files will be produced for the two possible alleles in for every loci.

Usage

create_genome(fa,genotype,output,haploid_only,max_total_size_in_gb)

Arguments

fa

Required: the genome fasta file

genotype

Required: a hapmap file

output

Required: a prefix of output files

haploid_only

Optional: if haploid or diploid genome will be produced, default is TRUE

max_total_size_in_gb

Optional: size quota which should not be exceeded, default is 10 gb

Value

the genomic location.

Examples

fa = "Gmax_275_v2.0.fa"
genotype = "pop8_marker_set.hapmap.hapmap"
output="genome"
create_genome(fa,genotype,output)

USDA-ARS-GBRU/crossword documentation built on Oct. 11, 2024, 12:51 a.m.