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

Fragment length doesn't change the read generation behaviour #268

Open
pabviana opened this issue Jul 15, 2024 · 1 comment
Open

Fragment length doesn't change the read generation behaviour #268

pabviana opened this issue Jul 15, 2024 · 1 comment

Comments

@pabviana
Copy link

Hi,

I've noticed that you included the arguments 'fragment length' and 'fragment sd'. I've been trying to use these to specify the read length of the generated reads for a metagenome, but it keeps defaulting to the error model read length.

Could you clarify how these arguments are supposed to work?

Additionally, I noticed that the 'number of reads' argument does not seem to work properly when using the precomputed models. For instance, I tried -n 1m -m miseq, but the generated files only contained 500,000 reads.

Thank you for your assistance.

Best regards,

@ThijsMaas
Copy link
Collaborator

ThijsMaas commented Jul 19, 2024

Hi,

The read length cannot be changed, as this is a property of the error model and sequencing machine from which it was generated. The fragment length in paired-end sequencing is the total length of both reads including the insert size, allowing you to change this insert size only.

Are you sure the model generated 0.5M reads or 0.5M read pairs, because 0.5M read pairs would be a total of 1M reads. If you need 1M read pairs, you may need to double the number of reads argument.

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