Bio::Tradis::AddTagsToSeq(3pm) | User Contributed Perl Documentation | Bio::Tradis::AddTagsToSeq(3pm) |
Bio::Tradis::AddTagsToSeq - Takes a BAM file and creates a new BAM with tr and tq tags added to the sequence and quality strings.
version 1.4.5
Bio::Tradis::AddTagsToSeq parses BAM files, adds given tags to the start of the sequence and creates temporary SAM file, which is then converted to BAM
use Bio::Tradis::AddTagsToSeq; my $pipeline = Bio::Tradis::AddTagsToSeq->new(bamfile => 'abc'); $pipeline->add_tags_to_seq();
Bio::Tradis::AddTagsToSeq
"bamfile" - path to/name of file containing reads and tags
"outfile" - name to assign to output BAM. Defaults to "file.tr.bam" for an input file named "file.bam"
"add_tags_to_seq" - add TraDIS tags to reads. For unmapped reads, the tag is added to the start of the read sequence and quality strings. For reads where the flag indicates that it is mapped and reverse complemented, the reverse complemented tags are added to the end of the read strings. This is because many conversion tools (e.g. picard) takes the read orientation into account and will re-reverse the mapped/rev comp reads during conversion, leaving all tags in the correct orientation at the start of the sequences in the resulting FastQ file.
Carla Cummins <path-help@sanger.ac.uk>
This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
2020-01-11 | perl v5.30.0 |