{"id":8653,"date":"2025-02-09T20:36:46","date_gmt":"2025-02-09T20:36:46","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=8653"},"modified":"2025-11-10T14:18:40","modified_gmt":"2025-11-10T14:18:40","slug":"contig-extender","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/contig-extender\/","title":{"rendered":"ContigExtender (contig-extender)"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><strong>ContigExtender<\/strong>, was developed to extend contigs, complementing de novo assembly. ContigExtender employs a novel recursive Overlap Layout Candidates (r-OLC) strategy that explores multiple extending paths to achieve longer and highly accurate contigs. ContigExtender is effective for extending contigs significantly in in silico synthesized and real metagenomics datasets.<\/p>\n<p>As stated in their <a href=\"https:\/\/github.com\/dengzac\/contig-extender\">github page<\/a>, ContigExtender requires Docker. CSF3 has Singularity installed for supporting containerised application therefore ContigExtender Singularity image was built for users using the master branch of git repository available as on 7th February, 2025.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>ContigExtender is open source and freely distributed. It is released under GPL-3.0 license.<\/p>\n<p>Please follow this link for further information\u00a0 &#8211; <a href=\"https:\/\/github.com\/dengzac\/contig-extender?tab=GPL-3.0-1-ov-file#GPL-3.0-1-ov-file\">GPL-3.0 license<\/a><\/p>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this.<\/p>\n<p>To use the software you must the modulefile:<\/p>\n<pre>\r\nmodule load apps\/singularity\/contig_extender\/default\r\n<\/pre>\n<h2>Examples<\/h2>\n<p>Examples that came along with this git repository are available in CSF3 under the following directory: <\/p>\n<p><code>$APPDIR\/examples<\/code> <\/p>\n<p>Users can copy the <strong><em>examples<\/em><\/strong> folder to their work directory and run them using the sample jobscript below for testing by first loading the module and then running the command:<\/p>\n<p><code>cp  -r  $APPDIR\/examples  .<\/code><\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run ContigExtender on the login node. Jobs should be submitted to the compute nodes via batch using jobscript.<\/p>\n<p>Ideally, ContigExtender should be run in a parallel environment. By default, it will use 8 CPU cores\/threads, if not set separately using the flag: <code><em> --threads [THREADS]<\/em><\/code><\/p>\n<p>Users <strong>must<\/strong> specify the <strong>number of CPU cores<\/strong> they want to use for the job in their jobscript in the line\/flag <code>#$ -pe amd.pe <strong>4<\/strong><\/code> and then add <code>--threads $NSLOTS<\/code> in the singularity command line as shown in the jobscript below:<\/p>\n<h3>Parallel batch job submission<\/h3>\n<p>Create a batch submission script (which will load the modulefile in the jobscript), for example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd             # Job will run from the current directory\r\n#$ -pe amd.pe 4     # Set the number of CPU required for the job\r\n\r\n\r\n# Load the version you require\r\nmodule load apps\/singularity\/contig_extender\/default\r\n\r\n<strong>singularity exec --bind \/scratch:\/scratch,\/opt:\/opt $CONTIG_EXTENDER_SIF python3 \/app\/extender\/extender_wrapper.py --threads $NSLOTS examples\/BKV_seed_1000_867.fa examples\/BKV_250_50_0.01_0_.fastq<\/strong>\r\n\r\n<\/pre>\n<p>Submit the jobscript using:<\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h2>Further info<\/h2>\n<p><a href=\"https:\/\/github.com\/dengzac\/contig-extender\">ContigExtender Github page<\/a><\/p>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview ContigExtender, was developed to extend contigs, complementing de novo assembly. ContigExtender employs a novel recursive Overlap Layout Candidates (r-OLC) strategy that explores multiple extending paths to achieve longer and highly accurate contigs. ContigExtender is effective for extending contigs significantly in in silico synthesized and real metagenomics datasets. As stated in their github page, ContigExtender requires Docker. CSF3 has Singularity installed for supporting containerised application therefore ContigExtender Singularity image was built for users using the.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/contig-extender\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":21,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8653","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/8653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=8653"}],"version-history":[{"count":12,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/8653\/revisions"}],"predecessor-version":[{"id":8670,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/8653\/revisions\/8670"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=8653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}