Alexandre Masselot > InSilicoSpectro-Databanks > uniprotdat2fasta.pl

Download:
InSilicoSpectro-Databanks-0.0.43.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

uniprotdat2fasta.pl - converts uniprot native text format (.dat or .seq) into fasta file, reporting varsplic, signal, peptide, PTM, conflicts....

DESCRIPTION ^

Reads a uniprot .dat (sprot, trembl...) and converts it into a fasta file, expanding VAR_SPLIC, CHAIN, PEPT annotations.

FT annotation, such as MOD_RES, VARIANT... are kept in the fasta header coherently with the sequence modification (recomputed location).

SYNOPSIS ^

uniprotdata2fasta.pl --in=uniprot_sprot.dat --out=uniprot_sprot.fasta

ARGUMENTS ^

--in=file

A .dat file [default is stdin]

-out=file

A .fasta file [default is stdout]

OPTIONS ^

--noderived

Does not produce the derived sequences, i.e. the chains, peptides and isoforms (VAR_SEQ, CHAIN...). Equivalent to call with -skipchains -skippeptides -skipisoforms.

--skipchains

Does not produce the chains.

--skippeptides

Does not produce the peptides.

--skipisoforms

Does not produce the isoforms.

--skiporigsequence

By default the original sequence is always added to the fasta file and then new sequences (chains, etc.) are added provided they are different. To avoid having the original sequence and to have annotated features only, use this flag.

--shortname

The additional sequences have ACs that are obtained by appending a text to the original AC. For Mascot it might be necessary to configure the system to accept longer ACs than it does by default. To avoid this you can use this flag and peptides will be named AC_Pi, chains AC_Ci, and isoforms AC_Ii, where i is an integer starting at 0 for each type of variant.

--help

--man

--verbose

Setting an environment vartiable DO_NOT_DELETE_TEMP=1 will keep the temporay file after the script exit

EXAMPLE ^

COPYRIGHT ^

Copyright (C) 2004-2006 Geneva Bioinformatics www.genebio.com

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

AUTHORS ^

Alexandre Masselot, www.genebio.com

syntax highlighting: