Sponsored Content
Full Discussion: some unix help.....
Top Forums UNIX for Dummies Questions & Answers some unix help..... Post 302129169 by cdfd123 on Sunday 29th of July 2007 09:46:42 AM
Old 07-29-2007
Bug

yah of course it is sunday!!!!!!
but researchers have no day it is the same ahaha Smilie

yah tht one 2 files have one in unique
tht is first line ...
i.e >gb|AAI30281.1| ABCA8 protein [Homo sapiens]......
>ref|XP_001165971.1| PREDICTED: similar to KIAA0822 protein isoform 5
etc...........

so first file have list of all proteins say human,mouse all other organisms.......
with have u seen like in the first file .......in previous post......
and another file having just >gb|AAI30281.1| ABCA8 protein [Homo sapiens]....
>ref|XP_001165971.1| PREDICTED: similar to KIAA0822 protein isoform 5

So searching for in first file with 2nd file as input to display the output
>gb|AAI30281.1| ABCA8 protein [Homo sapiens]
MRKRKISVCQQTWALLCKNFLKKWRMKRESLMEWLNSLLLLLCLYIYPHSHQVNDFSSLL
TMDLGRVDTFNESRFSVVYTPVTNTTQQIMNKVASTPFLAGKEVLGLPDEESIKEFTANY
PEEIVRVTFTNTYSYHLKFLLGHGMPAKKEHKDHTAHCYETNEDVYCEVSVFWKEGFVAL
QAAINAAIIEITTNHSVMEELMSVTGKNMKMHSFIGQSGVITDLYLFSCIISFSSFIYYA
SVNVTRERKRMKALMTMMGLRDSAFWLSWGLLYAGFIFIMALFLALVIRSTQFIILSGFM
>ref|XP_001165971.1| PREDICTED: similar to KIAA0822 protein isoform 5
MRKRKISVCQQTWALLCKNFLKKWRMKRESLMEWLNSLLLLLCLYIYPHSHQVNDFSSLLTMDLGRVDTFNESRFSVVYT
PVTNTTQQIMNKVASIPFLAGKEVLGLPDEESIKEFTANYPEEIVRVTFTNTYSYHLKFLLGHGMPAKKEHKDHTAHCYE
TNEDVYCEVSVFWKEGFVALQAAINAAIIEITTNHSVMEELMSVTGKNMKMHSFIGQSGVITDLYLFSCLISFSSFIYYA
hope sir u understood
thanks
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX problem? Unix programm runs windows 2000 CPU over 100%

Okee problems...!! What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies

2. UNIX for Dummies Questions & Answers

Unix History Question: Why are filenames/dirnames case sentsitive in Unix?

I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies

3. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies

4. Shell Programming and Scripting

FTP script for sending a file from one unix directory to another unix server director

Hi, My local server is :/usr/abcd/ Remote server is :/Usr/host/test/ I want to send files from local unix directory(All files starting with O_999) to remote host unix directory. Can any body give me the Unix Shell script to do this. One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies

5. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

6. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

7. Shell Programming and Scripting

File Transfer from Window server to UNIX and UNIX to UNIX

Dear All, Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way. I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies

8. Post Here to Contact Site Administrators and Moderators

VIP Membership - The UNIX and Linux Forums - Get Your UNIX.COM Email Address Here

We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
SWISS::DEs(3pm) 					User Contributed Perl Documentation					   SWISS::DEs(3pm)

Name
       SWISS::DEs.pm

Description
       SWISS::DEs represents the DE lines of a UniProt Knowledgebase (Swiss-Prot + TrEMBL) entry as specified in the user manual
       http://www.expasy.org/sprot/userman.html.

       The DEs object basically holds lists of DE objects, each of them representing a protein name element.  The "elements", "hasFragment",
       "Includes" and "Contains" attributes/methods work as follows :

	DE   RecName: Full=CAD protein;
	DE	      Short=CAD;
	DE   AltName: Full=Protein rudimentary;
	DE   Includes:
	DE     RecName: Full=Glutamine-dependent carbamoyl-phosphate synthase;
	DE		EC=6.3.5.5;
	DE   Includes:
	DE     RecName: Full=Aspartate carbamoyltransferase;
	DE		EC=2.1.3.2;
	DE   Flags: Fragment;

	-= Entry::DEs =-
	elements (for each DE object, see SWISS::DE.pm documentation) :
	   toText:    "CAD protein",  "CAD",	   "Protein rudimentary"
	   category:  "RecName",      "RecName",   "AltName"
	   type:      "Full",	      "Short"	   "Full"
	hasFragment : "Fragment"
	Includes : ListBase of DEs (child1, child2)
	Contains : empty ListBase

	-= child1 =-
	elements (for each DE object) :
	   toText:    "Glutamine-dependent carbamoyl-
		       phosphate synthase",	       "6.3.5.5"
	   category:  "RecName",		       "RecName",
	   type:      "Full",			       "EC"
	hasFragment : undef

	-= child2 =-
	elements (for each DE object) :
	   toText:    "Aspartate carbamoyltransferase",  "2.1.3.2"
	   category:  "RecName",			 "RecName",
	   type:      "Full",				 "EC"
	hasFragment : undef

       Note: the old unstructured DE format can still be used, and will be parsed the same way into DE objects (but without setting their
       attributes 'category' and 'type'.

	DE   CAD protein (Protein rudimentary) [Includes: Glutamine-dependent
	DE   carbamoyl-phosphate synthase (EC 6.3.5.5); Aspartate
	DE   carbamoyltransferase (EC 2.1.3.2)] (Fragment).

Inherits from
       SWISS::ListBase.pm

Attributes
       "text"
	   The (raw) text of the DE line (without the 'DE   ' line type prefixes)

       "list"
	   Array reference to the SWISS::DE objects containing the different names for the entry. The first element of the list is the recommended
	   name.  Note: use "elements" method (inherited from ListBase) to get (and loop through) the array of DE objetcs.

       "Includes"
       "Contains"
	   Each of these is a SWISS::ListBase object whose list contains a SWISS::DEs object for each 'child' of the protein (i.e. peptide or
	   functional domain). See the UniProtKB user manual for an explanation. It is possible to have both Includes and Contains in a single
	   entry:

	    DE	 RecName: Full=Arginine biosynthesis bifunctional protein argJ;
	    DE	 Includes:
	    DE	   RecName: Full=Glutamate N-acetyltransferase;
	    DE		    EC=2.3.1.35;
	    DE	   AltName: Full=Ornithine acetyltransferase;
	    DE		    Short=OATase;
	    DE	   AltName: Full=Ornithine transacetylase;
	    DE	 Includes:
	    DE	   RecName: Full=Amino-acid acetyltransferase;
	    DE		    EC=2.3.1.1;
	    DE	   AltName: Full=N-acetylglutamate synthase;
	    DE		    Short=AGS;
	    DE	   RecName: Full=Arginine biosynthesis bifunctional protein argJ alpha chain;
	    DE	 Contains:
	    DE	   RecName: Full=Arginine biosynthesis bifunctional protein argJ beta chain;

       "hasFragment"
	   Contains 'Fragment' or 'Fragments' (evaluates to true) if the DE lines contain the 'Fragment(s)' indication (in 'Flags:' line with the
	   new DE line format), otherwise evaluates to false. Compare to the more robust Entry::isFragment which also checks the FT lines for a
	   NON_CONS or NON_TER.

       "isPrecursor"
	   Returns 1 if the flag 'Precursor' is present (undef if not). Note: only with new DE line format.

Methods
   Standard methods
       new
       fromText
       toText

Evidence Tags
       With the new DE line format, each DE element can have distinct evidence tags, which are stored in the DE object themself (see SWISS::DE.pm
       documentation).	The evidence tags for the 'Flags' line are stored in the parent DEs object itself.  With the old DE line format, since the
       DE line did not have a fixed syntax in TrEMBL, it is impossible to reliably assign evidence tags separately to the different elements of
       the DE lines. Therefore, the DE line can only be evidence tagged as a whole, and the following methods have their prototype defined in
       SWISS::BaseClass instead of the direct parent of SWISS::DEs, SWISS::ListBase :

	addEvidenceTag
	deleteEvidenceTags
	getEvidenceTags
	getEvidenceTagsString
	hasEvidenceTag
	setEvidenceTags

       example :

	$evidenceTag = $entry->Stars->EV->addEvidence('P', 'DEfix', '-', 'v1.3');
	# add global DE evtag if old DE line format, 'Flags' evtag if new format
	$entry -> DEs -> addEvidenceTag($evidenceTag);

perl v5.10.1							    2008-07-17							   SWISS::DEs(3pm)
All times are GMT -4. The time now is 01:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy