@@ -50,7 +51,7 @@ See https://www.sylabs.io/docs/ for instructions to install Singularity.
We provide a [Singularity recipe](Singularity.seaconnect) and ready to run container with all required dependencies.
### Build a container
Build a local container with all required programs and dependencies using Singularity recipe [Singularity.seaconnect](Singularity.seaconnect)
Build a local container as administrator with all required programs and dependencies using Singularity recipe [Singularity.seaconnect](Singularity.seaconnect)
@@ -153,15 +154,27 @@ This command process demultiplexing for each `{lane}`. Results are stored into `
:warning: If your cleaned fastq data folder is not into the current directory, you have to create a binding point for the singularity container. Modify the `--singularity-args "-B /entrepot:/entrepot"` argument of the command below.
If you want a blacklist of `{sample}` fastq files with low coverage, you can use [DEMORT](https://pypi.org/project/demort/0.2.4/) to get number of reads by `{sample}` fastq files.
```
bash 00-scripts/demort.sh {species}
```
This command evaluates demultiplexed fastq files by computing various metrics. `{sample}` with a low number of reads are blacklisted. Results are stored into [98-metrics](98-metrics) folder.
## Mapping `{barcode}` with `{pop}` and `{sample}`
Each fastq file belonging to a specific `{barcode}` is renamed by the corresponding association `{pop}` and `{sample}` as stipulated into `{species}_sample_information.tsv` file. (see for instance [mullus_sample_information.tsv](01-infos/mullus_sample_information.tsv))
This command create a symlink of all fastq files such as `03-samples/{lane}/sample_{barcode}.fq.gz` is linked by `04-ddocent/{species}/{pop}_{sample}.F.fq.gz`.
:paperclip: Optionally, if a samples blacklist is provided, blacklisted {sample} is filtered.