Mercurial > repos > galaxyp > megahit
changeset 0:b379f4728136 draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/megahit_contig2fastg commit 55d148dd4fae2d0156cc0ab680fd4f00efc6f242
author | galaxyp |
---|---|
date | Thu, 08 Nov 2018 16:08:02 -0500 |
parents | |
children | |
files | megahit_contig2fastg.xml test-data/k21.contigs.fa |
diffstat | 2 files changed, 58 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/megahit_contig2fastg.xml Thu Nov 08 16:08:02 2018 -0500 @@ -0,0 +1,56 @@ +<?xml version='1.0' encoding='utf-8'?> +<tool id="megahit_contig2fastg" name="MEGAHIT Contig2fastg" version="@VERSION@"> + <description>for converting MEGAHIT's contigs to fastg</description> + <macros> + <token name="@VERSION@">1.1.2</token> + </macros> + <requirements> + <requirement type="package" version="@VERSION@">megahit</requirement> + </requirements> + <version_command>megahit --version</version_command> + <command detect_errors="exit_code"><![CDATA[ + megahit_toolkit contig2fastg + '${kmer}' + '${contigs}' > '${fastg}' + ]]></command> + <inputs> + <param name="contigs" type="data" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz" multiple="true" label="Single-end file(s)" help="FASTQ/FASTA/FASTQ.GZ files accepted" /> + <param name="kmer" type="integer" value="99" label="K-mer length" /> + </inputs> + <outputs> + <data format="txt" name="fastg" label="Conversion to FASTG with ${tool.name} on ${on_string}" /> + </outputs> + <tests> + <test> + <param name="contigs" value="k21.contigs.fa" ftype="fasta" /> + <param name="kmer" value="21"/> + <output name="fastg"> + <assert_contents> + <has_text text=">NODE_1_length_576" /> + </assert_contents> + </output> + </test> + </tests> + <help><![CDATA[ + +**MEGAHIT_toolkit contig2fastg** + +Contig2fastg is a subprogram within the MEGAHIT toolkit. It converts MEGAHIT's k*.contigs.fa to fastg format that can be viewed by Bandage. + +**MEGAHIT** + +MEGAHIT is a single node assembler for large and complex metagenomics NGS reads, such as soil. It makes use of succinct de Bruijn graph (SdBG) to achieve low memory assembly. MEGAHIT can optionally utilize a CUDA-enabled GPU to accelerate its SdBG contstruction. The GPU-accelerated version of MEGAHIT has been tested on NVIDIA GTX680 (4G memory) and Tesla K40c (12G memory) with CUDA 5.5, 6.0 and 6.5. + +-------- + +**Project links:** + +https://github.com/voutcn/megahit +https://github.com/voutcn/megahit/blob/master/tools/toolkit.cpp + + + ]]></help> + <citations> + <citation type="doi">10.1093/bioinformatics/btv033</citation> + </citations> +</tool>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/k21.contigs.fa Thu Nov 08 16:08:02 2018 -0500 @@ -0,0 +1,2 @@ +>k21_1 flag=3 multi=1.0486 len=576 +CGGTCGAAAAACTGCTGGCAGTGGGGCATTACCTCGAATCTACCGTCGATATTGCTGAGTCCACCCGCCGTATTGCGGCAAGCCGCATTCCGGCTGATCACATGGTGCTGATGGCAGGTTTCACCGGCGGTACATCAGTGGCAAATGCAGAACGTTTTCTGCGTGTTGCCGATATTCTGGAAAGCAATGCCAGGCAGGGGCAGGTGGCCACCGTCCTCTCTGCCCCCGCCAAAATCACCAACCACCTGGTGGCGATGATTGAAAAAACCATTAGCGGCCAGGATGCTTTACCCAATATCAGCGATGCCGAACGTATTTTTGCCGAACTTTTGACGGGACTCGCCGCCGCCCAGCCGGGGTTCCCGCTGGCGCAATTGAAAACTTTCGTCGATCAGGAATTTGCCCAAATAAAACATGTCCTGCATGGCATTAGTTTGTTGGGGCAGTGCCCGGATAGCATCAACGCTGCGCTGATTTGCCGTGGCGAGAAAATGTCGATCGCCATTATGGCCGGCGTATTAGAAGCGCGCGGTCACAACGTTACTGTTATCGATCCGGTCGAAAAACTGCTGGCAG