HGAP Parameters
Hi rhall,
Thanks for your help. I am working on this single contig assembly and able to run base_modification correctly. I was trying to assemble another small genome with pacbio RS || data with 135x coverage. Through default HGAP method I got 3 contigs. What other HGAP parameters can be tweaked to get better (possibly 1 contig) assembly for these genome?
Also, what are the changes in the SMRTanalysis 2.0.1 version? Are there any changes that might improve the HGAP results from version 2.0.0?
Thanks
Sagar
Unconfigured Ad
Collapse
X
-
The base modification pipeline will not break contigs. The number of contigs output should be the same as in the reference. If you use the reference that is one contig, by first downloading it from the HGAP job, then uploading it as a reference you should only get results for one contig.
Leave a comment:
-
Great!
The output from SMRT Portal HGAP goes through correction using the quiver algorithm, with >40x coverage you can expect a base QV of > 50. For the coverage vs QV plot see:
My normal workflow, given a single contig.
1. Check the degenerate file from the Celera Assembler stage (downloadable from the data section of SMRT Portal). It may contain a few to no sequences, blasting them is the quickest way to see if they are junk, or meaningful.. The reason I check this file is that Celera Assembler assumes even coverage, so any high copy number elements (in particular plasmids) will end up in this file not the final assembly.
2. Check the single contig for circularity using a dot plot:
3. If the contig is circular, then circularize it. I found the easiest way to do this is to take the polished contig, arbitrarily introduce a break in the middle, then use the two contigs as input to minimus2:
Download AMOS for free. AMOS is a collection of tools for genome assembly. AMOS is a collection of tools and class interfaces for the assembly of DNA reads. The package includes a robust infrastructure, modular assembly pipelines, and tools for overlapping, consensus generation, contigging, and assembly manipulation.
which should then output a single circular contig by overlapping the start of one contig with the end of the other.
4. Run the circularized contig through RAST, BaSys, or using the original data and the contig as a reference run a Base Modification analysis in SMRT Portal.
5. Publish.
Leave a comment:
-
Hi rhall,
Thanks for your reply. I am able to import the data into SMRTportal.
The RS || platform data looks excellent with average read_length of 6KB and longest reads of 25KB. I was able to assemble genome in single contig with HGAP method. This is amazing.
I also tried "RS_modification and motif analysis" protocol which generated consensus of 33 contigs. Does this protocol breaks the assembly at low confidence bases? Is it necessary to do the base-modification or I should go ahead with 1 contig assembly as high-confidence one?
Any suggestions about downstream analysis or any SMRTportal tools which will help me?Last edited by sagarutturkar; 08-07-2013, 11:36 AM.
Leave a comment:
-
and.. The *.metadata.xml is a requirement if the data is to be used in SMRT Portal.
Leave a comment:
-
It looks like the files have been moved around and renamed, the simplest solution is probably to ask for the files again from the service provider in the original state.
GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.
As a general rule, raw data from the instrument should not be moved from the generated directory structure and .h5 files should never be renamed.
Richard.
Leave a comment:
-
PacBio RS|| data
Hi,
We recently got some Data from PacBio RS|| system which looks like this.
However, When I copied same folder in inputs_dropbox folder and tried to import - It says no new SMRT cells to import. What might be the problem? After importing I changed the folder name. Also, I do not see theHTML Code:10061/ 10061/PACBIO_DATA/ 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02.ccs_stats.txt 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02.ccs.fastq 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02.1.1.bax.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02_stats.txt 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02.1.3.bax.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02.1.bas.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02_stats.txt 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02.1.1.bax.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02.ccs.fastq 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02.1.2.bax.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02.1.3.bax.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02.1.bas.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02.1.2.bax.h5 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_D02.fastq 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02.ccs_stats.txt 10061/PACBIO_DATA/XSBOR_20130726_RS42150_PL100036291-1_C02.fastq
folders as before. Any suggestions?HTML Code:*.metadata.xml ./Analysis_Results
Leave a comment:
-
Some recent test data is available from:
This is Ecoli data, and has been used to demonstrate HGAP assembly. You can download the data, import it into SMRT Portal and used it as a test case for HGAP, Base Modification and resequencing pipelines.
Leave a comment:
-
One would think so but the command line usage is disconnected from the SMRTportal in ways we do not fully understand (and have run into for the last 2-3 software revisions).Originally posted by rhall View PostGenoMax:
For 1.4, you had SMRT portal working, but not command line smrtpipe.py? Given that SMRT portal basically generates parameter files then runs smrtpipe.py this would seem like it should have been a simple fix.
We use SGE on one cluster. smrtpipe.py when submitted from a qsub script job generates sub-"qsub" jobs on its own .. which SGE does not like.
If you want to know more we can confer off-line as I do not want to hijack this thread.
Leave a comment:
-
GenoMax:
Unfortunately the reference guide for 1.4 is not as easy to link to (pdf file). That protocol in particular has not changed, and the documentation will be the same.
For 1.4, you had SMRT portal working, but not command line smrtpipe.py? Given that SMRT portal basically generates parameter files then runs smrtpipe.py this would seem like it should have been a simple fix.
Leave a comment:
-
rhall: You have linked the reference guide for smrtanalysis v.2.0. Is that applicable for v.1.4 (in case Sagar is still using that version).
We could never get the v.1.4 to work (smrtpipe.py) on the command line.
We are currently working with tech support to get just test data to work with v.2.0 (HGAP protocol) through SMRTportal. Have not thought about command line yet.Last edited by GenoMax; 05-14-2013, 04:13 PM.
Leave a comment:
-
The error is simply that no reads have been found that link contigs. You can try changing the parameters:
https://github.com/PacificBiosciences/SMRT-Analysis/wiki/SMRT-Pipe-Reference-Guide-v2.0#parameters-5GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.
I would also double check the reads, by mapping them to the contigs using a standard resequencing protocol.
Leave a comment:
-
However, when I revisit this for some other genome, I am getting errors again.Originally posted by sagarutturkar View PostI was able to run the AHA using command line and gave me scaffolds for the genome. I used fastX toolkit to convert filtered_subreads.fastq file to fasta format and used existing assembly as reference.
The command used to run smrtpipe was:
Code:/opt/Pacbio/smartanalysis/analysis/bin/smrtpipe.py --params=params.xml xml:input.xml >& smrtpipe.err
I have attached complete log files. Please help with this.Code:[ERROR] 2013-05-13 12:57:15,241 [pbpy.smrtpipe.SmrtPipeContext exit 557] Found error: Failed to find any links. Scaffolding failed. [ERROR] 2013-05-13 12:57:15,241 [pbpy.smrtpipe.SmrtPipeMain run 648] SmrtExit Failed to find any links. Scaffolding failed. Traceback (most recent call last): File "/data2/smart/smartanalysis/analysis/lib/python2.7/pbpy-0.1-py2.7.egg/pbpy/smrtpipe/SmrtPipeMain.py", line 612, in run self._runModules(sModules) File "/data2/smart/smartanalysis/analysis/lib/python2.7/pbpy-0.1-py2.7.egg/pbpy/smrtpipe/SmrtPipeMain.py", line 346, in _runModules instance.run() File "/data2/smart/smartanalysis/analysis/lib/python2.7/pbpy-0.1-py2.7.egg/pbpy/smrtpipe/modules/HybridAssembly.py", line 518, in run self._context.exit("Failed to find any links. Scaffolding failed.") File "/data2/smart/smartanalysis/analysis/lib/python2.7/pbpy-0.1-py2.7.egg/pbpy/smrtpipe/SmrtPipeContext.py", line 558, in exit raise SmrtExit(msg) SmrtExit: SmrtExit Failed to find any links. Scaffolding failed. [ERROR] 2013-05-13 12:57:15,243 [pbpy.smrtpipe.SmrtPipeMain exit 760] SmrtExit Failed to find any links. Scaffolding failed.
Thanks
SagarAttached Files
Leave a comment:
-
AHA commandline solved
I was able to run the AHA using command line and gave me scaffolds for the genome. I used fastX toolkit to convert filtered_subreads.fastq file to fasta format and used existing assembly as reference.Originally posted by rhall View PostFor the command line job, the AHA workflow should be ran from a filtered subreads file. You will not get sensible results from a bas.h5 file, although it should work. pls2fasta can be used to convert from bas.h5 to fasta
The XML files were created as described here:
GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.
The command used to run smrtpipe was:
Thanks to rhall and GenoMax for all the help. I am still trying to figure out running the SMRTportal and re-downloading the bas.h5 data.Code:/opt/Pacbio/smartanalysis/analysis/bin/smrtpipe.py --params=params.xml xml:input.xml >& smrtpipe.err
Thanks
Sagar
Leave a comment:
-
For the command line job, the AHA workflow should be ran from a filtered subreads file. You will not get sensible results from a bas.h5 file, although it should work. pls2fasta can be used to convert from bas.h5 to fasta
The SMRT portal job: It looks like the bas.h5 is corrupt, which would also explain the command line job failure. If this is the case, then pls2fasta will also fail, you can use h5dump to look at the contents of a h5 file.
I have seen cases of corrupt bas.h5 files when they are transferred over ftp incorrectly.
Leave a comment:
Latest Articles
Collapse
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, 10-28-2026, 09:57 AM
|
0 responses
22 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:57 AM
|
||
|
Started by SEQadmin2, 10-28-2026, 09:51 AM
|
0 responses
14 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
67 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
47 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
Leave a comment: