Skip to content

Commit

Permalink
missing data test
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Nov 6, 2020
1 parent 512b962 commit f162c70
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions docs-new/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,18 +200,41 @@ snakemake --profile profiles/infoserv multiqc_all;

## Multiple Alignment

Create a multiple alignment of the filtered samples:
### Plot Missing Data Differences

Fast version (testing):
Plot the following values as line graphs:

1. x: missing data percentage (0,1,2,3,4,5)
1. y: variant positions
y: parsimony informative sites
Create a multiple alignment of the filtered samples:

```bash
snakemake --profile profiles/infoserv snippy_multi_all;
for x in 0 1 2 3 4 5;
do
outfile=/2/scratch/keaton/plague-phylogeography/results/snippy_multi/all/snippy-core_chromosome.snps.filter${x}.aln;
echo $outfile;
snakemake --profile profiles/infoserv $outfile --config snippy_missing_data=$x;
done
```

Data:

```table
Number of samples: 547
missing_data variant sites parismony informative sites
0 0 0
1 53 26
2 396 162
3 1786 716
4 3653 1479
5 6166 2460
```

Full version:

```bash
snakemake --profile profiles/infoserv snippy_multi_all --config snippy_missing_data=1;
snakemake --profile profiles/infoserv snippy_multi_all --config snippy_missing_data=5;
```

## Phylogeny
Expand Down

0 comments on commit f162c70

Please sign in to comment.