Crate fasten_convert[−][src]
Expand description
Convert between different sequence formats
Examples
Simple conversion
cat file.fastq | fasten_convert -i fastq -o fasta > out.fastaConvert to sam and then to bam
cat file.fastq | fasten_convert -i fastq -o sam | samtools view -bS > file.bamConvert to fastq and then clean
cat file.fasta | fasten_convert -i fasta -o fastq | fasten_clean > cleaned.fastqUsage
Usage: fasten_convert [-h] [-n INT] [-p] [-v] [-i FORMAT] [-o FORMAT]
Options:
-h, --help Print this help menu.
-n, --numcpus INT Number of CPUs (default: 1)
-p, --paired-end The input reads are interleaved paired-end
-v, --verbose Print more status messages
-i, --in-format FORMAT
The input format for stdin
-o, --out-format FORMAT
The output format for stdin
FORMAT can be: fastq, fasta, samStructs
Struct that can handle paired end reads
Functions
Read fasta from stdin and transmit it to a channel
Read fastq from stdin and transmit it to a channel
Read sam from stdin and transmit it to a channel
Read from a channel and print as fasta
Read from a channel and print as fastq
Read from a channel and print as sam
