59
\$\begingroup\$

Titin is a protein found in muscle tissue. It is a pretty big protein, and its full chemical name is giant as well. Comprising 189819 characters, the full name of titin would take about 3.5 hours to pronounce. Your task is to output this entire name!

Details

The full name can be found here: Pastebin

The MD5 hash of the output is ec73f8229f7f8f2e542c316a41cbfff4 (without a trailing newline) or 628c6eb157eb1de675cfc5b91a8149ce (with a trailing newline).

  • You may not access an external resource, be it a file or an internet location.
  • You must output only the exact text from the pastebin to STDOUT or STDERR. Nothing else should be output to your chosen output stream; leading and trailing whitespace are acceptable.
  • You may not assume there will be any input, but you may assume that there will be no input if needed.
  • You may output anything to the other output stream (STDOUT if you chose to output to STDERR and vice versa)
  • Standard loopholes apply

This is a challenge, so the shortest program in bytes wins!

EDIT

This is NOT a duplicate of the Rick Astley "Never Gonna Give You Up" challenge. Besides the tags, they're not even similar. In that one, output is a multi-line song with a few sections that repeats the first two words of every line. In this one, output is a fairly compressible string with 189819 letters. Please don't close-vote this as a dupe of that.

\$\endgroup\$
  • 6
    \$\begingroup\$ It also takes 3.5 hours to copy-paste as well :)) \$\endgroup\$ – Mr. Xcoder Apr 15 '17 at 20:04
  • 46
    \$\begingroup\$ At first glance, I thought we had to output the full name of Tintin, which didn't seem that hard. \$\endgroup\$ – Arnauld Apr 15 '17 at 20:16
  • 6
    \$\begingroup\$ "the full name of titin would take about 3.5 hours to pronounce" Not only would, it's been done: youtube.com/watch?v=NFR-ADakI-c \$\endgroup\$ – Esolanging Fruit Apr 16 '17 at 1:42
  • 11
    \$\begingroup\$ @DownChristopher How is the difference not apparent? In that challenge, the output is a multi-line song with a part that repeats the first two words every line for a bit. In this one, the output is a fairly compressible word that has 189819 characters... I don't see how they're even similar except for that they're both KC challenges. Not every KC challenge is automatically a dupe of the Rickroll challenge. \$\endgroup\$ – HyperNeutrino Apr 16 '17 at 22:32
  • 2
    \$\begingroup\$ I'm disappointed that the bash command look titin didn't work. :P \$\endgroup\$ – Wossname Jun 16 '17 at 14:20

14 Answers 14

12
\$\begingroup\$

Bash + sed + paq8kx v7, 11682 bytes

The submission consists of two files: an arbitrarily named Bash script (23 bytes) and a paq8kx archive named a (11657 bytes, plus 1 byte for the extra file, plus 1 byte for the specific filename).

Bash script

paq8kx -d a>t
sed -fd b

a (base64 encoded)

cGFxOGt4ADj////9lNl7YOLMnQ0W4tNQaR+2z8um8YSdKwDxDgFaqATIG40F0T57vk6/ecQVh7fU
f7Svr8dv1eChF3zrWq8UgnsrUO6Bn7YlE5XzoDyNYi6bTqSZ5Xd1ThnuEDr6ibyqXoLgQ2hc4jyi
gBfeJpHhdFXSRD7Wh31GccwOT7aHuw0/vZctJIhPVoIqNKEs98wfbDPvXkVeP/hlwUnBJ9ixVKk2
Qn6Yo2XOMdRpmqDjXz/acpO1kWc0meEbNGW7CCJiYChQdCFpUdMeY3gE94Dkz4WF+1Uli3Sn6r4O
u+NOZNQVXwugmAYzxeDkNH4qiyUYvC7e0knysiTw058uyhp7YoQKnm7jbotT2OCN+zIfR8em5e7k
a9vOZ4czRi+nxtxg0KEgs92QA9jtdpwiULTeSG1j8xPr80k1i52yxeBjrMUtH62i2UL2/IkG9mtV
fHA45Katd7Vqz+4W2mWPAaW5NgQPZS3zb0omw6HIcvdruNq+8JyCxy6XpYoYRdCWtkAj1S4hvgB0
6S7SZBV8zNXYeb+Ei72Z1+bnEwFb5z+1DQbayjJ8POn8VVkXmrDuDbNeLJyGhCLHtxMVFO2u3Ik/
KqT8RsIz9adx7VqfLFhr1kOYSISuFfIb0AbtOoj30BTc5F86zEfCNTQPNyKFeIIk16lyDrReZbl9
ub2aS3tfCuJIrgKRTuPPkoFPwh/Q6mSephO9y7pBvQxzU8DkkCdOxe21hPN0XVHW6YeRJI4TydZj
pTe6U6l8vrt6flaeKycVOxTVY0fn92wIeJ4PtgRzrmkGGy29q7y5WgtrItAmVGjff8Clue1s5tVo
vD30cE1eGg2kI8KidXm5qKkZEJRjITV/FPS/G/iC6d7UMZGa2PErBg/5iKZNb89I3DKABsX0lvjg
8Ic8vsbB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dPKmg1cLsyWlp42YAAyw2hzVRx2lGB1YCR/SMQxLFZqOxWcwmsKlzhX1faFSqj/EVjjHYIze+crz
SRWyHX7R5Z36x6oY8K2O5BQZ9XK6/eeoCQfsyQa6Bp37jzJQde5kjQfxeuPoqQWsv2xsYbQvx4mq
Hs0CRcAh+lmJuQN6PqrVbdXGMa1/+WF1AEP+ReBvDrEbbJxllqyv0jrJR4twjM8ajxlNkiuH0Dfg
FSOJhNPdBOtEXmjClW07o+dv5bc6PdAtfjCPVeu/rkJmy4lRTTBlPMN4adSQNuub4O64OxB1SDIQ
1sncK5zZc06dTgFJOoV9WKd3fjof39PKwJ5LfiSFjqmu4AJHGgRtr99gHIBPXjdyKx66SVyFa6fO
SVcFoW2N58UwjQp6ypGkLfZ1iU3U2vWoDOA9iA/W/bXpzgEVPi6pjatuVXUYs/EGUGHVUJOkHLBc
eykVI/rEh80DMQTO4heUlFpB00QJFCurJSe+x1MHwuOOHpICd01N6+CmmQ2Vjbz1WzLbtghFez62
0Gz2X3QWUpE2xYYMzpTEDhrFKlGxcyg/2VwDgm9T+PH+1rDHLFJMIoAEYgYM2II2XAP64+ed5u1l
Yfxz3+ooBElCqhhGT+Njf/i4tU4VupKEM1UxsN3zTH0KvlZN4zR930wTyrNq6eArBLNe6PKQpxln
PXSm0sTjCgYLGdCIvGJqfcECY+XLcHOYkOMMgxviDUzZDERP3sKlNGh6EyYhaLR/bqcDkhiXCTm6
I73a0K9oh4SyJNOn8A8Lj6ZTAmw1LeRJ9dwZK9Y=

Verification

$ bash titin.sh | md5sum
ec73f8229f7f8f2e542c316a41cbfff4  -

How it works

The first line of the Bash script – paq8kx -d a>t – decompresses the archive a, redirecting its output to t. The redirection is required as paq8kx prints information to STDOUT, which should not be part of the final output. Said information will look as follows.

Extracting ./b 26926 -> done
Extracting ./d 307 -> done
Time 15.36 sec, used 1929185730 bytes of memory

This creates a sed script d with the following content.

s/T/methionyl/g
s/S/cysteinyl/g
s/R/histidyl/g
s/Q/tryptophyl/g
s/P/phenylalanyl/g
s/O/glutaminyl/g
s/N/tyrosyl/g
s/M/asparaginyl/g
s/L/arginyl/g
s/K/aspartyl/g
s/J/alanyl/g
s/I/isoleucyl/g
s/H/leucyl/g
s/G/glycyl/g
s/F/prolyl/g
s/E/seryl/g
s/D/threonyl/g
s/C/lysyl/g
s/B/glutamyl/g
s/A/valyl/g
s/..$/ine/g

It also creates a large (printable) binary stream that encodes the different parts of titin's name.

TDDOJFDPDOFHOEAAAHBG<26886 more uppercase letters>EHGMBPGEKEJDAMIRILEI

Finally, the second line – sed -fd b – executes the sed script d on the file b, printing the desired output to STDOUT.

\$\endgroup\$
  • \$\begingroup\$ Watch out, Mathematica is coming! \$\endgroup\$ – Matthew Roh Apr 17 '17 at 8:49
  • \$\begingroup\$ Sorry Dennis, but ATaco beat you. Hope you don't mind the re-checkmark ;) \$\endgroup\$ – HyperNeutrino Jun 16 '17 at 2:28
  • \$\begingroup\$ Well, ATaco was wrong so +15 again ;) \$\endgroup\$ – HyperNeutrino Jun 16 '17 at 2:45
23
\$\begingroup\$

JavaScript (ES6), 16840 16825 16814 bytes

Saved a couple of bytes by:

  • inserting the last acid prefix in the packed string as suggested by ETHproductions
  • choosing the next character group in a slightly more efficient way when there's a tie

Assumes Windows-1252 character encoding. Outputs without a trailing newline.

Below is a simplified version without any actual data.

[...Array(256)].map((_,i)=>i<52|i>126&i<161|i==92|i==96?0:s=s.split(String.fromCharCode(i)).join(`...dictionary...`.slice(j,j+=2)),j=0,s=`...packed_data...`)&&[...s].map(c=>'methion|threon|glutamin|alan|prol|phen|leuc|ser|val|glutam|glyc|histid|isoleuc|tryptoph|argin|aspart|lys|asparagin|tyros|cystein'.split`|`[c.charCodeAt()-32]).join`yl`+'ine'

And here is the full version:

Try it online!

The TIO link includes some additional code to print the MD5 of the output rather than printing the output itself:

ec73f8229f7f8f2e542c316a41cbfff4

How?

This was compressed by:

  1. Mapping the 20 distinct amino acids to ASCII characters 32 to 51.
  2. Repeatedly replacing the most frequent 2-character group by a new ASCII character in the following ranges:
    • 52-91
    • 93-95
    • 97-126
    • 161-255

Which leaves us with a dictionary of 336 bytes (168 entries of 2 characters) and a final compressed string of 16161 bytes.

The above code is doing the exact opposite.

\$\endgroup\$
  • 1
    \$\begingroup\$ Very, very nice. I was going to do something similar but had to leave for a couple of hours. I think you can save another couple bytes by including the last ylisoleuc in the compressed data and just doing +'ine'. \$\endgroup\$ – ETHproductions Apr 16 '17 at 0:49
  • \$\begingroup\$ @ETHproductions Ah yes, you're right. I'll do that tomorrow. (I've just switched to another computer and don't have the compression code at my fingertips anymore.) \$\endgroup\$ – Arnauld Apr 16 '17 at 0:55
  • \$\begingroup\$ I actually thought about doing just the same, only up to 126; but actually I had more important things to do these holidays. Very nice work! * bows * \$\endgroup\$ – Titus Apr 16 '17 at 22:51
16
\$\begingroup\$

Bash + sed + xz, 13322 13290 12785 12706 12694 12687 12681 bytes

sed 1d $0|unxz|sed /`sed 's:[A-T]:yl/g;s/&/:g'<<<AvalBglutamClysDthreonEserFprolGglycHleucIisoleucJalanKaspartLarginMasparaginNtyrosOglutaminPphenylalanQtryptophRhistidScysteinTmethion`yl/g\;s/yl$/ine/
<12479 bytes of binary data>

Try it online!

\$\endgroup\$
  • \$\begingroup\$ I think this is using LZMA, right? As a side note, I did a similar test with paq8l which is compressing the uppercase letter string to 11877 bytes. \$\endgroup\$ – Arnauld Apr 16 '17 at 1:34
  • \$\begingroup\$ Yes, it's LZMA. Brotli does better, but not as good as paq8l. \$\endgroup\$ – Dennis Apr 16 '17 at 1:36
15
\$\begingroup\$

Mathematica, 319 + 14971 = 15290 bytes

For[p={};a={t={{{{{tyros,asparagin},prol},{ser,threon}},{{lys,alan},{glutam,val}}},{{{{phen,{methion,cystein}},argin},{aspart,{glutamin,{histid,tryptoph}}}},{leuc,{,glyc}}}},r=Join@@IntegerDigits[BinaryReadList@"b",2,8]},r!={},If[AtomQ@a,p=Join[p,{a,yl}/.{,yl}->{iso}];a=t,a=a[[1+#&@@r]];r=Rest@r]];##~Print~leucine&@@p

Incredibly, this is exactly one byte more than this bzip2 answer. Can somebody find a couple of bytes to save?!

This is a program that prints the full name of titin to STDOUT. We use the same structure described in Jörg Hülsermann's PHP answer, and additionally note that all the words except for "iso" end in "yl", which we add separately each time unless inappropriate (this is what p=Join[p,{a,yl}/.{,yl}->{iso}] does). We store the data in a 14971 -byte file called "b" in the working directory (hex dump is here), which is converted to the list of its corresponding bits by Join@@IntegerDigits[BinaryReadList@"b",2,8].

That list of bits has been determined by Huffman coding, which is a lovely data compression scheme that takes relative frequencies into account; it requires the decoding template, stored here as the binary tree t, as well as the raw list of bits. Inexplicably, Mathematica doesn't have a Huffman decoding (or encoding) built-in, so that's what the For-loop implements.

\$\endgroup\$
  • \$\begingroup\$ Never would've expected to see a Mathematica answer here, nice! How did you get away with not using strings for the words? (Also, if I let this run, how long would it be expected to take?) \$\endgroup\$ – numbermaniac Apr 16 '17 at 6:17
  • 2
    \$\begingroup\$ (It takes a bit less than 2 minutes on my machine.) All those non-strings tyros, asparagin, etc. are interpreted as undefined variables, which can still be manipulated by a hopeful Mathematica; fortunately, Print is perfectly happy to print the names of undefined variables, and also (super conveniently) prints whatever arguments you give it without intervening spaces, thus doing away with needing to 'StringJoin' anything. \$\endgroup\$ – Greg Martin Apr 16 '17 at 7:37
  • 10
    \$\begingroup\$ What about the Mathematica function IUPACName["Titin"]? ;) \$\endgroup\$ – Beta Decay Apr 16 '17 at 8:45
  • 1
    \$\begingroup\$ Also, I feel that the amino acids are a built in in mathematica (citation needed) \$\endgroup\$ – Rohan Jhunjhunwala Apr 16 '17 at 11:58
  • \$\begingroup\$ @BetaDecay Trust Mathematica to have a builtin... \$\endgroup\$ – Nic Hartley Apr 16 '17 at 23:19
7
\$\begingroup\$

Pip, 27747 27081 19701 19229 bytes

Take that, Bubblegum!

O("alan argin asparagin aspart cystein glutam glutamin glyc histid isoleuc leuc lys methion phenylalan prol ser threon tryptoph tyros val"^sA*Y"..."R^(PA3,68)."xyz{|}~
 !"Y"uttscfkmovgsmmoshiwnqtwjgioettdwnmvmfisgnjdgkrvik nrdrerjikomezastkvktssdewmdogtvtwweidsrineogsiwedkngwfotnsdtnomowrmsqemikiksoidiorntgkmtniwswowirrwt"<>2)J"yl""ine"

where "..." is a very long string. Here's the full code as a Gist.

Try it online! (Results are truncated.)

Strategy: split the name on yl, and encode each piece as one of the lowercase letters d through w. Use their code points (between 100 and 119) to index into the list of pieces (which is of length 20, so the indices are taken mod 20 automatically). Join on yl, output, and tack ine on the end.

Further compression: find the most common pair of letters in the encoded string, and replace it with an unused ASCII character. Repeat for all ASCII characters # through c, xyz{|}~!, space, and newline. The code takes this twice-compressed string and replaces the characters that aren't d through w with their corresponding two-character strings. Goto paragraph 1.

\$\endgroup\$
5
\$\begingroup\$

PHP 18731 Bytes

echo strtr(bzdecompress(base64_decode("$base64encodedstring")), 
[A=>alanyl,B=>arginyl,C=>aspartyl,D=>asparaginyl,E=>cysteinyl,F=>glutaminyl
,G=>glutamyl,H=>glycyl,I=>histidyl,J=>isoleucyl,K=>leucyl,L=>lysyl
,M=>methionyl,N=>phenyl,O=>prolyl,P=>seryl,Q=>tryptophyl,R=>threonyl
,S=>tyrosyl,T=>valyl,U=>isoleucine]);');

Try it online!

Create the Base64 string

Replacement of all words with uppercase chars in the range A-U after that bzip2 and base64 encoding

$a=preg_replace(["#alanyl#","#arginyl#","#aspartyl#","#asparaginyl#","#cysteinyl#","#glutaminyl#","#glutamyl#","#glycyl#","#histidyl#",
"#isoleucyl#","#leucyl#","#lysyl#","#methionyl#","#phenyl#","#prolyl#","#seryl#","#tryptophyl#","#threonyl#","#tyrosyl#","#valyl#","#isoleucine#"],range("A","U"),$titin);
$z=base64_encode(bzcompress($a));

PHP, 19920 Bytes

After replace the words with numbers and create a very long decimal number I can only read the word "leucine"

I have 20 words found that I have replace with numbers

After that i use bzcompress and the last action was base64 encoding

$g="base64String"; # see online version
echo $o=strtr(bzdecompress(base64_decode($g)),array_flip(
["methionyl"=>9999,"cysteinyl"=>9990,"histidyl"=>9909,"tryptophyl"=>9090
,"phenyl"=>9009,"glutaminyl"=>9000,"tyrosyl"=>899,"asparaginyl"=>889
,"arginyl"=>888,"aspartyl"=>800,"iso"=>70,"glycyl"=>79
,"prolyl"=>78,"seryl"=>77,"threonyl"=>6,"lysyl"=>5
,"alanyl"=>4,"glutamyl"=>3,"valyl"=>2,"leucyl"=>1]));

Online Version gzinflate

The words and count

[methionyl] => 337
[threonyl] => 2083
[glutaminyl] => 724
[alanyl] => 2304
[prolyl] => 1834
[phenyl] => 672
[leucyl] => 3351
[seryl] => 1910
[valyl] => 2414
[glutamyl] => 2324
[glycyl] => 1731
[histidyl] => 391
[iso] => 1658
[tryptophyl] => 401
[arginyl] => 1405
[aspartyl] => 1430
[lysyl] => 2199
[asparaginyl] => 902
[tyrosyl] => 829
[cysteinyl] => 356
\$\endgroup\$
  • \$\begingroup\$ ("19 words" should be "20 words") \$\endgroup\$ – Greg Martin Apr 15 '17 at 23:21
  • \$\begingroup\$ @GregMartin Thank You \$\endgroup\$ – Jörg Hülsermann Apr 15 '17 at 23:37
  • \$\begingroup\$ I bet you can save a few bytes by flipping the array manually and omit the quotes for the words. Why the weird numbers? \$\endgroup\$ – Titus Apr 16 '17 at 15:47
  • \$\begingroup\$ @Titus Yes but I found a better way to make it. The first way was my first thinking and i have try to convert these numbers additional to base 36 but this was not a good idea \$\endgroup\$ – Jörg Hülsermann Apr 16 '17 at 16:45
4
\$\begingroup\$

Bubblegum, 19655 bytes

0000000: e2 e5 7a 4c bf 5d 00 36 99 4a ef 2b 08 5d b1 93  ..zL.].6.J.+.]..
0000010: 69 cb 7a 61 51 8c 3c 7c 04 41 de 7e ea ed 68 3c  i.zaQ.<|.A.~..h<
0000020: ca 5c e1 c8 6c 5b b5 31 2d 0b 4e e2 8e 52 06 ec  .\..l[.1-.N..R..
0000030: 5e e6 da d5 f2 f5 d3 8f 83 a3 51 0b 45 5d 19 c6  ^.........Q.E]..
.
.
.

Here's a full hexdump.

You have to paste the code manually, but you can Try it online! (only shows the first 128 KiB)

\$\endgroup\$
  • \$\begingroup\$ ... Well, at least it's shorter than just straightforward printing it... \$\endgroup\$ – HyperNeutrino Apr 15 '17 at 19:41
  • \$\begingroup\$ When the output is cut because of a single word. \$\endgroup\$ – Erik the Outgolfer Apr 15 '17 at 21:32
  • \$\begingroup\$ Yea, bubblegum got beaten! \$\endgroup\$ – Joshua Apr 16 '17 at 15:32
  • \$\begingroup\$ Can´t You save about 35% by using 5 bit to 8 bit encoding? \$\endgroup\$ – Titus Apr 16 '17 at 15:44
  • 2
    \$\begingroup\$ @Titus Bubblegum only understands plain DEFLATE and LZMA encoding. \$\endgroup\$ – Dennis Apr 16 '17 at 17:23
3
\$\begingroup\$

bzip2, 15287+2 bytes

BZh91AY&SY...

Full source (hex-encoded). Run with bzip2 -c. Where do I pick up my "best programmer" trophy?

\$\endgroup\$
  • 5
    \$\begingroup\$ I'm afraid bzip2 doesn't qualify as a programming language. \$\endgroup\$ – Steadybox Apr 16 '17 at 0:16
  • 1
    \$\begingroup\$ @Steadybox Peter Taylor's idea of what "qualifies as a programming language" is a flawed one (see Bubblegum). In any case, it's not endorsed in the question. \$\endgroup\$ – Sneftel Apr 16 '17 at 0:22
  • \$\begingroup\$ Well, yeah, Bubblegum stretches the rules quite a bit to fit that definition. \$\endgroup\$ – Steadybox Apr 16 '17 at 0:51
  • 2
    \$\begingroup\$ I would say that this is not a valid answer because it's just a compressed file; bzip2 is not an actual programming language, it's a program itself. \$\endgroup\$ – HyperNeutrino Apr 16 '17 at 1:05
  • 5
    \$\begingroup\$ @HyperNeutrino I don't think it's necessary to. The size of the stupidly-compressed output makes a useful goalpost, if nothing else. If you've done some clever stuff in a KC challenge, but you still haven't beat bzip2, that's a good sign you haven't found the right approach yet. \$\endgroup\$ – Sneftel Apr 16 '17 at 8:30
2
\$\begingroup\$

PHP, 19851 18639 bytes

204 bytes code + 19647 bytes base64 data
207 bytes code + 18432 bytes base64 data

for(;$c=bzuncompress(base64_decode("QlpoNDFBWSZTWaBb474ANYhgAH//+ABgQZ773ed6+9vtzjvtrH20qH2Na331vdtffO+8cdk3tc+m912fOeetbBXbPvet7PO2L333vPt3T7s+22+3cbbru233ve7eR7um9557dt623rsr7vbHPNu+vvets++ebqM993W77vvlmu8997IG7Pt3afXnPucsvvYUCnT3Rmls+7qvvT3dr3V73r7z57u+7ux9Pe98++531977X3IuT326vvhwq+217e7r1PY7mbWu+9W3e9R7s97rvU3tm7U+nfb6+b73d99573fd3Pd9O632+oip+ARpiJQNU8JgIRIIp5MNTTIKQRTxkEBEgap7IECJlA1PQBAhIj6HRkfx8a9LbAY4eutBpFkddrIieecMOxYJEyd7ooF7taLNTwrjVnskzCN2zseR/GK5T+bcGVXQte2n0SeetGsYglJ1vLZh+6cuyvR722Sz9ZDFb4avGVilkCQ3xf258TzxyL3bsEDjtcvmxb2C5mT1daNf5mrXU3gfp5NuXB1Fbwi8IvADIy8fF+gwg3hGsU0FrfU7OLBiueePddSu3ROSiI7dhFPxixwjUnnN11Qw8h48/ZicShCBmn1AjeWLtmSTmT9+x19uN4h90FLaRCDM1H1xCTDMfzxhMYJTxbESo4iCKWBtE1u2aPjfBJ+zdtVUvlvkK1x3L4xfkW2WW0KDBdbPjn8Jsx+0/2cdRA3CNX46gFYRoe/rH1eH4ZHCGKRFJI1WfovAYjykKd0qXNXliO9bQzsiyz65LH7qOZn85tyu+TVwKOX77h4LwKySHvBOhYiiTJEtqX6SrZ4taINsXzwiDGh+QDqfVF6xhQT/e6vD7NFVw3zewHWpocPw/bCnRudNihlROXa7rx3VbhA/UyIZunzI45TV/s84IuV4SAiRN7GHgSGtUoJZhmNW9x0yyz7PkQm4xdLqQ5rwuwWd8bVmrlXKaBEghGdWJK28PlSkZKXCry6RNB1W3ZmOaSiGJndtrQqeb4raPwTpOmszFNl3Ql2mHGFMmt2gdipoOpGsym01bc7EUVAzL0sU7U7ttOWc4Y3BSF1+ydPeUtunclUZO1qO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5f7lyHB/AMn0i5zrFNWTP9nBFWPIv/F3JFOFCQoFvjvg"))[$i++];)echo[val,glutam,alan,lys,threon,ser,prol,glyc,leuc,isoleuc,aspart,argin,asparagin,tyros,glutamin,phen,tryptoph,histid,cystein,methion][ord($c)],$i<27598?yl:ine;

or, without the data:

for(;$c=bzuncompress(base64_decode(""))[$i++];)echo[val,glutam,alan,lys,threon,ser,prol,glyc,leuc,isoleuc,aspart,argin,asparagin,tyros,glutamin,phen,tryptoph,histid,cystein,methion][ord($c)],$i<27598?yl:ine;

I took the words ordered by number of appearances (descending), replaced them with bytes 0..19 (isoleucyl and isoleucine share code 9) followed by gzdeflate gzcompress and base64_encode. In PHP:

echo base64_encode(bzcompress(strtr($o,[asparaginyl=>chr(12),glutaminyl=>chr(14),tryptophyl=>chr(16),cysteinyl=>chr(18),isoleucyl=>chr(9),methionyl=>chr(19),aspartyl=>chr(10),glutamyl=>chr(1),histidyl=>chr(17),threonyl=>chr(4),arginyl=>chr(11),tyrosyl=>chr(13),alanyl=>chr(2),glycyl=>chr(7),leucyl=>chr(8),phenyl=>chr(15),prolyl=>chr(6),lysyl=>chr(3),seryl=>chr(5),valyl=>chr(0),isoleucine=>chr(9)])));

Moving from A..T to 0..19 did not only save 4 bytes of code (65=>), but also 3 bytes of encoded data (with gzdeflate; I didn´t test again).


replacements, words and count:

 0 val          # 2414
 1 glutam       # 2324
 2 alan         # 2304
 3 lys          # 2199
 4 threon       # 2083
 5 ser          # 1910
 6 prol         # 1834
 7 glyc         # 1731
 8 leuc         # 1694
 9 isoleuc      # 1657+1
10 aspart       # 1430
11 argin        # 1405
12 asparagin    #  902
13 tyros        #  829
14 glutamin     #  724
15 phen         #  672
16 tryptoph     #  401
17 histid       #  391
18 cystein      #  356
19 methion      #  337
\$\endgroup\$
  • \$\begingroup\$ 18432 Bytes bzcompress against 19647 Bytes gzdeflate only for the base64 string if this help you \$\endgroup\$ – Jörg Hülsermann Apr 16 '17 at 18:08
1
\$\begingroup\$

Python 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PnFU'@qRb,n?#1N>,2/-cH7h[t2?K*@s #v3LbD%XKx$=Jw+Vdd=<2p!p oyhMvMviQ\8G|sU *4^k!YM'y&cxi_#Uon!h."C^sGA"Y6sHCs.P8E/{v]CMm%9.!/K8*@W:0hiN*vUb.1;M h.`;DOw5lF#gRWt/$MH(!.@$._Mic>kPV|.|>jr[h]V'O$*d()E{L~:0YBm;&;, #lCm1nto$MzWg'/h0h!S\Bx/Pz~=n1Ejn[lycN.cz'kGA5]$d{+Tjeja72,^)ODF@sR"AxH_.w[lmt:Moa38Y_EU]QGO,:tBCtPy$\<nNSl='M}B)i<o~q/Wj1fpk$vU!F3`q^kG5f%u,J*$C)Ru>^R$\nJ:S_WC=(x2BAlQXJ:n1c?K+]*(],K$3l(F/w3*Nm+xZa?r@56@hBAL['\kh8nIG:.cmLziq,."(SAAddoMBCo4!cqp5k54T Ix|QE0\',2j#]X2x9l-L#`X(/o8'*CVM_FkOD0&glK!\g5XC(N7I`P3o|LlSvz572xjsA_2eDAFDxO|Rk8,m]TL4Lt]/|nCU.xPG$i$Xz\Y<:tv+E%Gl`A&},3(BzDRLJC?&<`fB`d,jsch+ib4Fl?eMGcU RpQ1`l4u$:pHe)ihm{#L"NbN @S@BUI-{V)'@6Ug?ZMK]**fL'''))
r='isoleucine'
while n:d=n%20;n=n/20;r='cystein methion threon glutamin glutam alan prol phen leuc ser val glyc histid isoleuc tryptoph argin aspart lys asparagin tyros'.split()[d]+'yl'+r
print r

Creates a number, n, by reading a raw string using characters between ' ' and '~' as digits in base-95. Decodes that as a base-20 number using parts of the full name of tintin as the digits adding 'yl' each time, and initialising with the trailing 'isoleucine' and prints the result.

\$\endgroup\$
1
\$\begingroup\$

Python 2, 14627 bytes

  • Encode the amino acids as bytes, from \x00 to \x13 Special treatment for phenyl which only arises as phenylalanyl. No special treatment for iso in isoleucyl, just a different group than leucyl. Special treatment for the -ine.
  • encode the string with bz2
  • custom base 216 encoding of the bz2 binary string (218 printable characters in cp1252 excluding ' and \ for ease of use in a string literal.) encoding 31 bytes in 32 printable characters.

Source with cut down string s:

#coding:cp1252
a='glutamin tryptoph leuc val aspart isoleuc glutam methion alan glyc phenylalan prol argin threon asparagin cystein lys histid tyros ser'.split()
p=[chr(x)for x in range(32,256) if x not in(39,92,127,129,141,143,144,157)]
s='ª9W¾½ÍWÕiì7.{ç5æÄ‚¯g×;NíbdXÔùP¯ ...'
d=''
for i in range(0,14241,32):
 c=s[i:i+32];n=i=0
 for c in c:n+=p.index(c)*216**i;i+=1
 for _ in s[:31]:n,c=divmod(n,256);d+=chr(c)
print'yl'.join(a[ord(c)]for c in d.decode('bz2'))+'ine'
\$\endgroup\$
1
\$\begingroup\$

R, 17684 bytes

E="/Td6WFoAAA..." # base64 string reduced for better readability
U=unlist(lapply(match(utf8ToInt(E),c(22:47,54:79,5:14,0,4)+43)-1,function(x)x%/%2^(5:0)%%2))
D=memDecompress(as.raw(sapply(split(U,0:(length(U)-1)%/%8),function(x)sum(x*2^(7:0)))),'x',T)
for(i in 1:21)D=gsub(LETTERS[i],paste0(el(strsplit("phenylalan valylthreon isoleuc leuc val glutam alan lys threon ser prol glyc aspart argin asparagin tyros glutamin tryptoph histid cystein methion"," ")),"yl")[i],D)
cat(D,"isoleucine",sep='')

Try it online!

The approach is similar to other answers :

  1. Remove the suffix "isoleucine" from the original string
  2. Replace each occurrencies of the following tokens with an uppercase letter in the range A-U :

            TOKEN   REPLACEMENT
     phenylalanyl             A
    valylthreonyl             B
        isoleucyl             C
           leucyl             D
            valyl             E
         glutamyl             F
           alanyl             G
            lysyl             H
         threonyl             I
            seryl             J
           prolyl             K
           glycyl             L
         aspartyl             M
          arginyl             N
      asparaginyl             O
          tyrosyl             P
       glutaminyl             Q
       tryptophyl             R
         histidyl             S
        cysteinyl             T
        methionyl             U
    

    obtaining a string of 26610 characters

  3. compress the string using the R builtin memCompress(string,"xz") obtaining a raw vector of length 12936 (bytes)
  4. encode the vector to base64 (because I don't know a better way to store these bytes into the script) obtaining a string of 17248 characters

The code does exactly the opposite (from points 4 to 1) and prints the string to stdout. The TIO captures this outputs, save it to a file and compute the md5 hash to verify that is correct.

Note: we can't compute md5 directly on string because we need a package that is not installed on TIO.

  • saved 37 bytes thanks to J.Doe
\$\endgroup\$
  • \$\begingroup\$ There are only 20 amino acids. I noticed you've got some that don't exist: valylthreon (really valyl + threonyl), phen (really just phenylalanyl), lyc (doesn't exist) and one extra isoleuc are in your code. \$\endgroup\$ – J.Doe Sep 29 '18 at 18:39
  • \$\begingroup\$ @J.Doe: Yes, some of them are "pairs", replacing them gave me some advantages in compression (e.g. phenylalanyl is repeated 672 times, so replacing the pair instead of replacing the 2 separatedly saves some bytes). But isoleuc repeated and lycyl are definitely leftovers of some tests, thanks for pointing it out ! :) \$\endgroup\$ – digEmAll Sep 29 '18 at 19:55
  • \$\begingroup\$ Sorry, I didn't explain that comment well. I mean that "phenylalanyl" is a single amino acid. They will always occur together. Confusingly, so is "alanyl", so replacement order matters! \$\endgroup\$ – J.Doe Sep 29 '18 at 20:47
  • \$\begingroup\$ @J.Doe : ah, so I can remove phenyl from the tokens, thanks ! \$\endgroup\$ – digEmAll Sep 29 '18 at 21:01
0
\$\begingroup\$

Python, 32148 bytes

Due to the Programming Puzzles & Code Golf body limit, view the code on Pastebin.

The code looks like

import zlib, base64
exec(zlib.decompress(base64.b64decode('eJzN...zYN')))

with most of the data removed from the decode statement.

Explanation: All that nonsense inside the exec() statement is actually the compressed version of print('methionyl...'

As per the OP's instructions, the hash of the output is ec73f8229f7f8f2e542c316a41cbfff4

This program uses the inbuilt Python modules zlib and base64

\$\endgroup\$
  • 2
    \$\begingroup\$ You coukd at least post the code without the data here. \$\endgroup\$ – Titus Apr 16 '17 at 15:26
  • 2
    \$\begingroup\$ @Titus I edited it in. \$\endgroup\$ – HyperNeutrino Apr 16 '17 at 22:53
  • 1
    \$\begingroup\$ Is it really shorter to put the print(' and ') inside the compressed string and call exec rather than just to call print and only compress the string of interest? \$\endgroup\$ – Peter Taylor Apr 18 '17 at 15:45
0
\$\begingroup\$

Pascal (FPC), 27917 bytes

{$H+}const s='<Compressed_string>';var c:char;a:array['A'..'T']of string=('methionyl','threonyl','glutaminyl','alanyl','prolyl','phenyl','leucyl','seryl','valyl','glutamyl','glycyl','histidyl','isoleucyl','tryptophyl','arginyl','aspartyl','lysyl','asparaginyl','tyrosyl','cysteinyl');begin for c in s do write(a[c]);write('isoleucine')end.

Try it online!

Compressed string

Hash print of the output

Compressed string, along with count of each string ending with yl, was made using this:

type part=record
      name:AnsiString;
      count:QWord;
     end;
var s:AnsiString;
    c:QWord=0;
    a:array[0..50] of part;
    i,j:word;
    p:word;
begin
  read(s);
  p:=pos('yl',s);
  while p>0 do begin
    c:=c+p;
    //writeln(c);
    j:=0;
    while j<i do begin
      if a[j].name=s[1..p+1] then begin
        Inc(a[j].count);
        break;
      end;
      j:=j+1;
    end;
    if j=i then begin
      a[i].name:=s[1..p+1];
      i:=i+1;
    end;
    write(chr(j+ord('A')));
    Delete(s,1,p+1);
    p:=pos('yl',s);
  end;
  writeln(' + isoleucine');
  for j:=0 to i-1 do writeln(j:3,chr(j+ord('A')):2,' ',a[j].name:20,' ',a[j].count);
end.
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.