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

Run time problem? #49

Open
stevechen123 opened this issue Sep 28, 2021 · 1 comment
Open

Run time problem? #49

stevechen123 opened this issue Sep 28, 2021 · 1 comment

Comments

@stevechen123
Copy link

Hi. I'm a novice to using Enrich2. I'm trying to count variants (using "count-only") directly by using a large number of reads (close to 4M forward reads and another 4M reverse reads). The WT sequence is also quite long.

In the terminal, it shows that I have been counting variants overnight. Is there an approximate amount of time that is required for each run? I'm just curious as to whether I'm doing something wrong or its simply taking a long time because I'm trying to run something quite complicated.

{
"fastq": {
"filters": {
"min quality": 20,
"remove unresolvable": true
},
"forward reads": "/media/Storage5/PHong/NGS/F300006022_L01_71_1_paired.fastq",
"reverse reads": "/media/Storage5/PHong/NGS/F300006022_L01_71_2_paired.fastq"
},
"name": "2021-09-27 71",
"output directory": "/media/Storage5/JingL/NGS/Enrich2_output",
"overlap": {
"forward start": 15,
"length": 120,
"max mismatches": 3,
"reverse start": 15,
"trim": true
},
"report filtered reads": false,
"timepoint": 0,
"variants": {
"use aligner": false,
"wild type": {
"coding": true,
"reference offset": 0,
"sequence": "ATGAATGGCACAGAAGGCCCTAACTTCTACGTGCCCTTCTCCAATGCGACGGGTGTGGTACGCAGCCCCTTCGAGTACCCACAGTACTACCTGGCTGAGCCATGGCAGTTCTCCATGCTGGCCGCCTACATGTTTCTGCTGATCGTGCTGGGCTTCCCCATCAACTTCCTCACGCTCTACGTCACCGTCCAGCACAAGAAGCTGCGCACGCCTCTCAACTACATCCTGCTCAACCTAGCCGTGGCTGACCTCTTCATGGTCCTAGGTGGCTTCACCAGCACCCTCTACACCTCTCTGCATGGATACTTCGTCTTCGGGCCCACAGGATGCAATTTGGAGGGCTTCTTTGCCACCCTGGGCGGTGAAATTGCCCTGTGGTCCTTGGTGGTCCTGGCCATCGAGCGGTACGTGGTGGTGTGTAAGCCCATGAGCAACTTCCGCTTCGGGGAGAACCATGCCATCATGGGCGTTGCCTTCACCTGGGTCATGGCGCTGGCCTGCGCCGCACCCCCACTCGCCGGCTGGTCCAGGTACATCCCCGAGGGCCTGCAGTGCTCGTGTGGAATCGACTACTACACGCTCAAGCCGGAGGTCAACAACGAGTCTTTTGTCATCTACATGTTCGTGGTCCACTTCACCATCCCCATGATTATCATCTTTTTCTGCTATGGGCAGCTCGTCTTCACCGTCAAGGAGGCCGCTGCCCAGCAGCAGGAGTCAGCCACCACACAGAAGGCAGAGAAGGAGGTCACCCGCATGGTCATCATCATGGTCATCGCTTTCCTGATCTGCTGGGTGCCCTACGCCAGCGTGGCATTCTACATCTTCACCCACCAGGGCTCCAACTTCGGTCCCATCTTCATGACCATCCCAGCGTTCTTTGCCAAGAGCGCCGCCATCTACAACCCTGTCATCTATATCATGATGAACAAGCAGTTCCGGAACTGCATGCTCACCACCATCTGCTGCGGCAAGAACCCACTGGGTGACGATGAGGCCTCTGCTACCGTGTCCAAGACGGAGACGAGCCAGGTGGCCCCGGCCGGTGGGGGTGGTTCCGGGGGAGGCGGAGTTTCTAAAGGTGAAGCAGTTATTAAGGAATTCATGAGATTCAAGGTACACATGGAAGGTTCTATGAATGGTCACGAATTTGAAATTGAAGGTGAAGGTGAAGGTAGACCATATGAAGGTACTCAAACTGCTAAGTTGAAGGTTACTAAAGGTGGTCCATTGCCATTTTCTTGGGATATTTTGTCTCCACAATTCATGTACGGTTCTAGAGCTTTTACAAAACATCCAGCAGATATTCCAGATTACTACAAGCAATCATTCCCAGAAGGTTTTAAATGGGAAAGAGTTATGAACTTCGAAGATGGTGGTGCAGTTACTGTTACACAAGATACTTCTTTGGAAGATGGTACATTGATCTATAAGGTTAAGTTGAGAGGTACTAATTTTCCACCAGATGGTCCAGTTATGCAAAAGAAAACTATGGGTTGGGAAGCTTCAACAGAAAGATTGTACCCAGAAGATGGTGTTTTGAAGGGTGACATTAAGATGGCATTGAGATTGAAGGATGGTGGTAGATATTTGGCTGATTTCAAGACTACATACAAGGCTAAGAAACCAGTTCAAATGCCAGGTGCTTACAACGTTGATAGAAAGTTGGATATTACTTCTCATAATGAAGATTACACAGTTGTTGAACAATATGAAAGAAGTGAAGGTAGACACAGTACAGGTGGTATGGATGAATTATACAAATGA"
}
}
}

@afrubin
Copy link
Member

afrubin commented Sep 28, 2021

Thanks for using Enrich2!

The read counting step can be quite time consuming, and in my experience is limited by how fast your computer can read the files. One counter-intuitive consequence of this is that a laptop with an SSD can sometimes complete an analysis faster than a shared HPC environment.

To make sure that everything is configured correctly, I recommend doing a trial run with just the first 100 read pairs or so. On a Unix-based system you can accomplish this with head -n400 or similar.

You might also see a speedup if you compress the FASTQ files. Enrich2 supports gzip and bzip2, and will automatically decompress these files on the fly (if they have the right suffixes).

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