[Bioperl-l] SimpleAlign add_seq ("%s/%d-%d",$id,$start,$end)
Jason Stajich
jason.stajich at duke.edu
Sat Oct 15 14:44:47 EDT 2005
I assume this is in the context of writing out the alignment?
Do this before you write out the alignment:
$aln->set_displayname_flat(1);
-jason
On Oct 14, 2005, at 4:39 AM, Albert Vilella wrote:
> Hi all,
>
> I was wondering why the add_seq method in SimpleAlign will always give
> the name of the sequence accompanied by a start and end tag.
>
> SimpleAlign.pm
> line 256:
> $name = sprintf("%s/%d-%d",$id,$start,$end);
>
> In one of my scripts I am using this method by I would not like to
> have
> this "/%d-%d" tail in the sequences' names.
>
> How do you think this should be addressed? Am I using a bad
> combination
> of method calls for my script?
>
> Bests,
>
> Albert.
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
--
Jason Stajich
Duke University
http://www.duke.edu/~jes12
More information about the Bioperl-l
mailing list