Indicate the path of [01_infos/all_samples.tsv](01_infos/all_samples.tsv)file in the `fichiers``rapidrun` field in [01_infos/config.yaml](01_infos/config_test.yaml)
Indicate the absolute path of rapidrun metadata table [all_samples.tsv](resources/test/all_samples.tsv) in the `fichiers``rapidrun` field in [config/config.yaml](config/)
This command will read [01_infos/all_samples.tsv](01_infos/all_samples.tsv) and return a file [01_infos/all_demultiplex.csv](01_infos/all_demultiplex.csv) which can be used to process rapidrun data in the next steps of the workflow.
This command will read `CONFIGFILE` and the `RAPIDRUN_METADATA` then return a file [results/01_settings/all_demultiplex.csv](results/01_settings/) which can be used to process rapidrun data in the next steps of the workflow.
[01_infos/all_demultiplex.csv](01_infos/all_demultiplex.csv) has 14 fields : *demultiplex,projet,marker,run,plaque,sample,barcode5,barcode3,primer5,primer3,min_f,min_r,lenBarcode5,lenBarcode3* and each row is an unique sample which belong to an unique marker and a project.
[results/01_settings/all_demultiplex.csv](results/01_settings/) has 14 fields : *demultiplex,projet,marker,run,plaque,sample,barcode5,barcode3,primer5,primer3,min_f,min_r,lenBarcode5,lenBarcode3* and each row is an unique sample which belong to an unique marker and a project.
For each sample, dereplicate sequences, remove sequences with a given length, remove sequences with IUAPC ambiguity, remove PCR clone, remove sequences which are classified as 'internal' by `obiclean`
Check results into [results/04_filter_samples](results/04_filter_samples)
## 5 Concatenate samples into runs
```
for projet in `ls 04_filter_samples/04_filtered/`;
for projet in `ls results/04_filter_samples/04_filtered/`;
do
for marker in `ls 04_filter_samples/04_filtered/${projet}/`;
for marker in `ls results/04_filter_samples/04_filtered/${projet}/`;
do
for run in `ls 04_filter_samples/04_filtered/${projet}/${marker}/`;
for run in `ls results/04_filter_samples/04_filtered/${projet}/${marker}/`;