Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
バイオシェル芸勉強会 2017/10/18
Search
carushi
October 18, 2017
Education
930
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
バイオシェル芸勉強会 2017/10/18
carushi
October 18, 2017
More Decks by carushi
See All by carushi
GTEx読み会 #07
carushi
0
140
PRML9章解説
carushi
1
250
ISMB読み会2016
carushi
0
140
Other Decks in Education
See All in Education
形骸化しない社内勉強会の取り組み - オーナーシップの作り方 / In-house study session
soudai
PRO
1
290
Adobe Express
matleenalaakso
2
8.4k
焦燥を平穏に変えるエンジニアのための哲学
ichimichi
7
6.9k
Science Tokyo University for International Research Excellence scheme_April 2026
sciencetokyo
PRO
0
220
Geografía y Fútbol: Chattanooga Geografía del Búnker de La Roja.
juanmartin2026
1
12k
2026年度春学期 統計学 第13回 不確かな測定の不確かさを測る ― 不偏分散とt分布 (2026. 6. 25)
akiraasano
PRO
1
190
医療事務養成の専門学校でのAI教育 非エンジニアの学生にAIを1年間使ってもらって、感じたこと
naochim2026
0
110
DecisionesEjecutivasCrisis
mariooc
0
330
Agent = Model + Harness
moon004
0
110
AIってなぁに?
kenichiota0711
0
830
輻射安全管理系統2.0暨輻防e++學園平台說明會
aecrp
0
2.1k
Enterprise UI, v2
stevekinney
0
250
Featured
See All Featured
The SEO identity crisis: Don't let AI make you average
varn
0
560
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
550
Building Adaptive Systems
keathley
44
3.2k
エンジニアに許された特別な時間の終わり
watany
109
250k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Designing for humans not robots
tammielis
254
26k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
Thoughts on Productivity
jonyablonski
76
5.4k
From π to Pie charts
rasagy
1
370
Chasing Engaging Ingredients in Design
codingconduct
0
320
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Transcript
ࡉ๔ϨϕϧͰγΣϧܳͯ͠Δʁ ࡉ๔ϨϕϧͰγΣϧܳͯ͠Δʁ @carushi
ࣗݾհ • Carushi - ݚڀॴͰόΠΦΠϯϑΥΛ͍ͯ͠ΔPD • Computational BiologyͰ3݄ʹPh.DΛͱΓ·ͨ͠ • ݱࡏɿ౷ܭΞϧΰϦζϜ։ൃɾػցֶशͰը૾ղੳ
2
ࡉ๔ϨϕϧͰ ࿀γΣϧܳ ͯ͠Δʁ 1. ࡉ๔ɾήϊϜʹࠁ·ΕͨຊೳʹैͬͯγΣϧܳΛ͢Δ͜ͱ 2. ҨࢠൃݱσʔλήϊϜྻղੳͳͲʹγΣϧܳΛ༻͍Δ͜ͱ
• ਓଟ͗͢Ͱʂʁ Śŕ ƅЧƅ㲇ƅЧƅ)ŵŢƄ? • ͱ͍͏͔ϓϩͷํʑͷલͰԿΛ͠ΌΖ͏ʂʂʁ:(ʀƄƅ’Тƅ'): ࡉ๔ϨϕϧͰ࿀γΣϧܳͯ͠Δʁ γΣϧܳͱͷೃΕॳΊΛ͔ͨΓ·͢(✿◕ ‿◕ฺ)φ →
ؾ߹͍ೖΕͯbashͷίʔυͷಡΈ͠ΛਐΊ͖ͯͨ • Bashͷmailcheck + cronɾat • ࣗͷਪ͔͠Β͍ͭԠԉϝʔϧ͕͘ΔγεςϜͱ͔ • ͪΐͬͱؾ࣋ͪѱ͍
γΣϧܳͱͷग़ձ͍ए͘ͳ͍͕·ͩ७ਅͩͬͨ γΣϧܳͱͷͳΕͦΊ Αͬ͠ɺ7JSUVBM.BDIJOFͰ ͍ΖΜͳ04Λࢼͯ͠ΈΔ͔ʂ 6CVOUV͔͠Βͳֶ͔ͬͨੜ͕͍Ζ͍Ζௐͩ͢ʜ w -JOVYNJOU "SDI-JOVY 'SFF#4%ʜ w
ˠ641ఏڙͷγΣϧܳ༻GSFF#4%ڥ5VLVCBJʹग़ձ͏ʂ
γΣϧপʢʁʣ ʢγΣϧϓϩάϥϛϯά࣮༻ςΫχοΫങ͏ʣ
ษڧձͰ࣌ϫϯϥΠφʔʹ͍ͭͯ͢ 7 $IFDL $IFDL ςʔϒϧɾFastqɾsam
͋Γ͕ͪͳಥવͷཪΓ ύΠϓύΠϓύΠϓ….. seq 0 5 | xargs -I{} echo "samtools
view -F 16 {}.bam | grep -v \”XS: \” | awk 'BEGIN{OFS='\t'}{if(length(\$10) >= 15) { print }}' | cut -f6,6 | grep \"^[0-9]*S\" | cut -f1,1 -d\"S\" | sort -n | uniq -c > {}_local.txt " | bash…
͋Γ͕ͪͳಥવͷཪΓ ύΠϓʹΑΔϚϧνϓϩηεԽͷ͗͢͠Ͱ ڞ༻αʔόʔͷδϣϒ੍ݶʹҾ͔͔ͬΔ ్தͰ͚͜Δͱશ෦ύʔʹͳΔ ˠ΄ͲΑ͍͓͖߹͍ʹʜ
ʢ࣮ྫʣBam/Samͷॲཧ • Bam/SamϑΝΠϧ • ࣍ੈγʔέϯγϯά͔ΒಘΒΕͨDNAྻใʢʴΫΦϦςΟͳͲʣ ͱɺήϊϜ্Ͱͦͷྻʹྨࣅ͢ΔҐஔͷใΛؚΉϑΝΠϧɻجຊλϒ ۠Γɻ 10 1൪ͷϦʔυɿ39Ԙج߹Θͳ͍ʴ48ԘجϚον ͜ͷҰ൪ࠨʹ͋Δ߹Θͳ͍ԘجͷΛ͍͑ͨ
ͨͩ͠૬ิʹٯ͖ͷྻʢ2ΧϥϜͰ5Ϗοτཱ͕ͭʣʹؔͯ͠ӈ
࣮ྫʣBam/Samͷॲཧ 11 # github/carushi/RT_end_count/ࢀর samtools view -F 16 temp.bam \
| gawk 'BEGIN{OFS="\t"}{if (NF == 3) {;} else if ($6 ~ / ^[0-9]*M/){ print 0 } else if ($6 ~ /^[0-9]*S/){print gensub(/ ^([0-9]*)S.*\$/, "\\1", "1", $6)} else {print "Error", $6}}'" • samtoolsͰ+ʢਖ਼ํʣͷϦʔυͷΈΛऔΓग़͢ • gawkͰ • 1. ϔομʔใແࢹ • 2. ࠷ॳ͕ࣈͱϚονͰ࢝·͍ͬͯͨΒ0ϕʔεΛग़ྗ • 3. ࠷ॳ͕ࣈͱιϑτΫϦοϓͰ࢝·͍ͬͯͨΒɺ1൪ʹݟ͔ͭͬͨจࣈྻΛஔ ͯ͠ࣈ෦ͷΈΛग़ྗ͢Δ • 4. ͦΕҎ֎Τϥʔใࠂ
Ұ൪͏γΣϧίϚϯυ LC_ALL=C tr '|' ‘\n' < ~/.zshistory | sed 's/^
//g' | cut -f1 -d” “ \ | grep -v "=" | sort | uniq -c | sort -n (-r) ӫ͑͋ΔୈҐʜʂʁ
13 aliasͬͯΔls ࣗͷιϑτ make͗͢͠ macͷΑ͞open (xdg-open?) samtools ୈҐMFTTΦʔμʔ͕ҧ͏ಊʑҐ ୈҐDEɹଧͨͳͯ͘ྑ͍ͷʹ͍ͭ ୈҐMTɹBMJBTೖΕͨΒҐ
݁ہଧͭbash
༨ஊɿ࠷ۙͷγΣϧڥ • command line filtering: zsh+tmux+peco+ghq -> fzfྑ͍… • unco:
ਲͬͬͯ࡞ۀ͢Δͱ͖͏͖ͩͳͱʹ͠Έͨ • pbpaste/pbcopy • Control + TʢControl + a, h, d, k, e, …ʣ • લޙͷจࣈΛೖΕସ͑Δʢtransposeʣ • sl -> lsʂ • macͰίϚϯυ࣮ߦதʹԡ͢ͱsnapshot ʢࠓͳΜͷίϚϯ υ͕࣮ߦ͞Ε͍ͯΔ͔ʣΛදࣔ͢Δ͜ͱ͕Ͱ͖Δ
thank you for your attention! thank you for your attention!