Skip to content

Commit

Permalink
little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hasindu2008 committed Feb 2, 2024
1 parent a7831d3 commit b860e7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ By default, DNA PromethION reads (R9.4.1) will be simulated. Specify the `-x STR
- `dna-r10-min`: genomic DNA on MinION R10.4.1 flowcells
- `dna-r10-prom`: genomic DNA on PromethION R10.4.1 flowcells
- `rna004-min`: direct RNA on MinION RNA004 flowcells
- `rna004-prom`: direct RNA on MinION RNA004 flowcells
- `rna004-prom`: direct RNA on promethION RNA004 flowcells

If a genomic DNA profile is selected, the input reference must be the **reference genome in *FASTA* format**. *squigulator* will randomly sample the genome from a uniform distribution and generate reads whose lengths are from a gamma distribution (based on `-r`). If a direct RNA profile is selected, the input reference must be the **transcriptome in *FASTA* format**. For RNA, *squigulator* will randomly pick transcripts from a uniform distribution and the whole transcript length is simulated.

Expand Down
2 changes: 1 addition & 1 deletion src/model.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ uint32_t set_model(model_t* model, uint32_t model_id) {
} else if(model_id==MODEL_ID_RNA_RNA004_NUCLEOTIDE){
kmer_size=9;
num_kmer=262144;
inbuilt_model=rna004_70bps_u_to_t_rna_9mer_template_model_builtin_data;
inbuilt_model=rna004_130bps_u_to_t_rna_9mer_template_model_builtin_data;
assert(num_kmer == (uint32_t)(1 << 2*kmer_size)); //num_kmer should be 4^kmer_size
} else{
assert(0);
Expand Down
2 changes: 1 addition & 1 deletion src/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -267284,7 +267284,7 @@ static float r10_4_nucleotide_9mer_template_model_builtin_data[] = {
111.8712688 , 3 // TTTTTTTTT
};

static float rna004_70bps_u_to_t_rna_9mer_template_model_builtin_data[] = {
static float rna004_130bps_u_to_t_rna_9mer_template_model_builtin_data[] = {
100.9501553 , 3 , // AAAAAAAAA
100.8738303 , 3 , // AAAAAAAAC
100.4230422 , 3 , // AAAAAAAAG
Expand Down

0 comments on commit b860e7b

Please sign in to comment.