Leucine | C6H13NO2 | AADB0011 - Amino Acid Database (AminoADB) (2025)

Synonyms

Synonyms

Identifiers

Manual Xrefs

Related Amino acids

Related Amino Acids

Biological activity
Metabolism

Kohlmeier, M. (2015)

Escherichia coli

Reaction Control
Biochemical reactions
Reaction Pathway Source Taxonomy
Bioactivity and Pharmacokinetics

T3DB Mechanism of Action

Predicted Properties
Property Value Source
Targets and transporters
Annotations
Literatures
Quiz
Information Sources
Submit Content

Leucine | C6H13NO2 | AADB0011 - Amino Acid Database (AminoADB) (1)

Content Submission Form

Please fill out all fields and upload your document. Accepted file formats are PDF, DOC, and DOCX, upload max 5MB). Checkout the guidelines and review process

Cite this Page

 

Citation copied!

`; document.body.appendChild(popup); const copyBtn = document.getElementById('copy-btn'); const shareBtn = document.getElementById('share-btn'); const highlightBtn = document.getElementById('highlight-btn'); const searchBtn = document.getElementById('search-btn'); const wordCountDiv = document.getElementById('word-count'); let selectedText = ''; let selectedRange = null; let timeoutId; function handleTextSelection(event) { clearTimeout(timeoutId); timeoutId = setTimeout(() => { const selection = window.getSelection(); selectedText = selection.toString().trim(); if (selectedText) { selectedRange = selection.getRangeAt(0); const rect = selectedRange.getBoundingClientRect(); popup.style.left = `${rect.left + window.scrollX}px`; popup.style.top = `${rect.bottom + window.scrollY}px`; popup.style.display = 'block'; const wordCount = selectedText.split(/\s+/).filter(Boolean).length; wordCountDiv.textContent = `Words: ${wordCount}`; } else { popup.style.display = 'none'; } }, 200); } document.addEventListener('mouseup', handleTextSelection); document.addEventListener('touchend', handleTextSelection); copyBtn.addEventListener('click', () => { navigator.clipboard.writeText(selectedText) .then(() => { showFeedback('Text copied to clipboard'); popup.style.display = 'none'; }) .catch(err => { console.error('Failed to copy text: ', err); showFeedback('Failed to copy text', true); }); }); shareBtn.addEventListener('click', () => { if (navigator.share) { navigator.share({ title: 'Shared Text from Database', text: selectedText, url: window.location.href }).then(() => { showFeedback('Shared successfully'); popup.style.display = 'none'; }).catch(err => { console.error('Error sharing text: ', err); showFeedback('Error sharing text', true); }); } else { showFeedback('Web Share API not supported in this browser', true); } }); highlightBtn.addEventListener('click', () => { if (selectedRange) { const startOffset = getTextNodeOffset(selectedRange.startContainer, selectedRange.startOffset); const endOffset = getTextNodeOffset(selectedRange.endContainer, selectedRange.endOffset); const highlightData = { action: 'add', page_url: window.location.href, selected_text: selectedText, start_offset: startOffset, end_offset: endOffset }; fetch('highlight.php', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(highlightData), }) .then(response => response.json()) .then(data => { if (data.success) { const span = document.createElement('span'); span.className = 'highlight'; span.dataset.highlightId = data.id; selectedRange.surroundContents(span); showFeedback('Highlighted and saved'); } else { showFeedback('Login to highlight', true); } }) .catch(error => { console.error('Error:', error); showFeedback('Error saving highlight', true); }); popup.style.display = 'none'; } }); searchBtn.addEventListener('click', () => { const searchUrl = `https://www.google.com/search?q=${encodeURIComponent(selectedText)}`; window.open(searchUrl, '_blank'); popup.style.display = 'none'; }); document.addEventListener('mousedown', (event) => { if (!popup.contains(event.target)) { popup.style.display = 'none'; } }); popup.addEventListener('keydown', (event) => { if (event.key === 'Escape') { popup.style.display = 'none'; } }); function showFeedback(message, isError = false) { const feedback = document.createElement('div'); feedback.className = `alert ${isError ? 'alert-danger' : 'alert-success'} position-fixed bottom-0 start-50 translate-middle-x`; feedback.setAttribute('role', 'alert'); feedback.style.zIndex = '1001'; feedback.innerHTML = message; document.body.appendChild(feedback); setTimeout(() => { feedback.remove(); }, 2000); } function getTextNodeOffset(node, offset) { let currentNode = document.body; let currentOffset = 0; const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null, false); while (walker.nextNode()) { if (walker.currentNode === node) { return currentOffset + offset; } currentOffset += walker.currentNode.length; } return -1; } function applyHighlights() { fetch(`highlight.php?page_url=${encodeURIComponent(window.location.href)}`) .then(response => response.json()) .then(highlights => { // Remove existing highlights document.querySelectorAll('.highlight').forEach(el => { const parent = el.parentNode; while (el.firstChild) { parent.insertBefore(el.firstChild, el); } parent.removeChild(el); }); // Apply new highlights highlights.forEach(highlight => { const range = getHighlightRange(highlight.start_offset, highlight.end_offset); if (range) { const span = document.createElement('span'); span.className = 'highlight'; span.dataset.highlightId = highlight.id; span.addEventListener('click', removeHighlight); try { range.surroundContents(span); } catch (e) { console.error('Error applying highlight:', e); } } }); }) .catch(error => console.error('Error loading highlights:', error)); } function removeHighlight(event) { const highlightSpan = event.target; const highlightId = highlightSpan.dataset.highlightId; // Send request to server to remove highlight fetch('highlight.php', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ action: 'remove', highlight_id: highlightId }), }) .then(response => response.json()) .then(data => { if (data.success) { // Remove the highlight span from the DOM const parent = highlightSpan.parentNode; while (highlightSpan.firstChild) { parent.insertBefore(highlightSpan.firstChild, highlightSpan); } parent.removeChild(highlightSpan); showFeedback('Highlight removed successfully'); } else { showFeedback('Failed to remove highlight', true); } }) .catch(error => { console.error('Error:', error); showFeedback('Error removing highlight', true); }); } function getHighlightRange(startOffset, endOffset) { const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null, false); let currentOffset = 0; let startNode, startNodeOffset, endNode, endNodeOffset; while (walker.nextNode()) { const nodeEndOffset = currentOffset + walker.currentNode.length; if (!startNode && startOffset >= currentOffset && startOffset <= nodeEndOffset) { startNode = walker.currentNode; startNodeOffset = startOffset - currentOffset; } if (!endNode && endOffset >= currentOffset && endOffset <= nodeEndOffset) { endNode = walker.currentNode; endNodeOffset = endOffset - currentOffset; break; } currentOffset = nodeEndOffset; } if (startNode && endNode) { const range = document.createRange(); range.setStart(startNode, startNodeOffset); range.setEnd(endNode, endNodeOffset); return range; } return null; } // Call applyHighlights on page load and after any dynamic content changes window.addEventListener('load', applyHighlights); document.addEventListener('DOMContentLoaded', applyHighlights);})();
Leucine | C6H13NO2 | AADB0011 - Amino Acid Database (AminoADB) (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 6393

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.