-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsep23.py
61 lines (51 loc) · 1.85 KB
/
sep23.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# coding: utf-8
get_ipython().magic('pwd ')
get_ipython().magic('ls ')
UnigeneList= []
get_ipython().magic('pinfo list.append')
get_ipython().magic('cd ')
with open('home/vinhpham/reformatted_Unigene.fa', 'r') as inFile:
UnigeneStr= inFile.read()
get_ipython().magic('cd ')
get_ipython().magic('ls ')
with open('/home/vinhpham/reformatted_Unigene.fa', 'r') as inFile:
UnigeneStr= inFile.read()
get_ipython().magic('whos')
with open('/home/vinhpham/reformatted_Unigene.fa', 'r') as inFile:
UnigeneStr= inFile.read().splitlines()
get_ipython().magic('whos')
UnigeneStr[0]
with open('/home/vinhpham/reformatted_Unigene.fa', 'r') as inFile:
UnigeneStr= inFile.read().splitlines()
for record in UnigeneStr:
UnigeneList.append(record.split(''))
with open('/home/vinhpham/reformatted_Unigene.fa', 'r') as inFile:
UnigeneStr= inFile.read().splitlines()
for record in UnigeneStr:
UnigeneList.append(record.split(' '))
get_ipython().magic('whos')
for record in UnigeneList:
print(len(record[6]))
get_ipython().magic('whos')
get_ipython().magic('save Oct-8.py')
get_ipython().magic('pinfo vi')
get_ipython().magic('pinfo save')
get_ipython().magic('save Oct-9.py')
get_ipython().magic('save Ocr-9')
get_ipython().magic('pinfo save')
get_ipython().magic('save Oct09')
get_ipython().magic('save Oct-09.py')
get_ipython().magic('pinfo save')
get_ipython().magic('save python Oct-9')
$save python Oct09
get_ipython().magic('save python Oct09')
get_ipython().magic('save python n1')
get_ipython().magic('save python')
get_ipython().magic('save [-r] SEP')
get_ipython().magic('pinfo save')
get_ipython().magic('save [-a] SEP')
get_ipython().magic('save [-r] SEP')
get_ipython().magic('cd ')
get_ipython().magic('ls ')
get_ipython().magic('save [-a] sep23.py')
get_ipython().magic('save [-a] sep23 1-40')