Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organising folders to analyse multiple samples (and amplicons) at once #3

Open
dgslos opened this issue Jul 20, 2023 · 1 comment
Open

Comments

@dgslos
Copy link

dgslos commented Jul 20, 2023

Hi,

I would like to analyse multiple samples at once after demultiplexing. As input data I have one fasta file for each sample and each amplicon.

I'm not sure how to organise my data and I could not find it in the documentation. So there are several options to organise the data:

demultiplexed_data/
├─ sample1/
│  ├─ amplicon1/
│  ├─ amplicon2/
├─ sample2/
│  ├─ amplicon1/
│  ├─ amplicon2/

Or

demultiplexed_data1/
├─ sample1/
│  ├─ amplicon1/
├─ sample2/
│  ├─ amplicon1/
demultiplexed_data2/
├─ sample1/
│  ├─ amplicon2/
├─ sample2/
│  ├─ amplicon2/

The wanted output file after clustering would be like this:
clustered_consensus_all_samples_amplicon1.fasta
clustered_consensus_all_samples_amplicon2.fasta

With corresponding count table for each amplicon like this:

| OTU  | sample1 | sample2 |
|------|---------|---------|
| OTU1 | 0       | 250     |
| OTU2 | 142     | 0       |
| OTU3 | 143     | 1653    |
| ...  | ...     | ...     |

Is laca currently able to produce output like this? And should I analyse one amplicon at a time or are multiple amplicons possible?

Thanks!

@yanhui09
Copy link
Owner

Hi
Thank you for your interest in laca.
You need to analyze one amplicon each time. Just make sure the demultiplexed directories are named in a format of [a-zA-Z]+[0-9]+. And the unzipped fastq files are put in each directory respectively.

demultiplexed_data1/
├─ sample1/
 │  ├─ batch1.fastq
 │  ├─ batch2.fastq
├─ sample2/
 │  ├─ batch1.fastq
 │  ├─ batch2.fastq

Best
Yan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants