Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 28, 2024
0 parents commit 1719e4a
Show file tree
Hide file tree
Showing 381 changed files with 31,632 additions and 0 deletions.
Empty file added .keep
Empty file.
Empty file added .nojekyll
Empty file.
223 changes: 223 additions & 0 deletions FAQ.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
<!doctype html>

<html lang="en">

<head>
<meta charset="utf-8">

<title>FAQ</title>
<meta name="description" content="Documentation for SingleM">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap"
rel="stylesheet">

<link rel="stylesheet" type="text/css" href="/singlem/assets/normalize.css?v=1716930286"
media="screen" />
<link rel="stylesheet" type="text/css" href="/singlem/assets/doctave-style.css?v=1716930286"
media="screen" />
<link rel="stylesheet" type="text/css" href="/singlem/assets/katex.css?v=1716930286" media="screen" />
<link rel="stylesheet" type="text/css" href="/singlem/assets/prism-ghcolors.css?v=1716930286"
media="screen" />

<script>
var DOCTAVE_TIMESTAMP = "1716930286";
var BASE_PATH = "/singlem/";
var color = localStorage.getItem('doctave-color')

if (color === 'dark') {
document.getElementsByTagName('html')[0].classList.remove('light');
document.getElementsByTagName('html')[0].classList.add('dark');
} else {
document.getElementsByTagName('html')[0].classList.remove('dark');
document.getElementsByTagName('html')[0].classList.add('light');
}
</script>


</head>

<body>
<label for='menu-toggle-switch' class='menu-toggle-button'>
</label>
<input type="checkbox" id="menu-toggle-switch" value='0' />
<div class='page'>
<div class='header'>
<div class='logo'>

<a href="/singlem/">
<img src="/singlem/sandpiper.png" alt='SingleM logo'></img>
</a>

<h2 class='project-name'>
<a href="/singlem/">
SingleM
</a>
</h2>
</div>
<div class='search'>
<form id='search-form'>
<input type='text' id='search-box' autocomplete="off" placeholder="Search..."></input>
<span class='search-icon'>S</span>
<ul id='search-results'></ul>
</form>

</div>
<div class='header-dummy-right'>
</div>
</div>
<div class='container'>
<div class='sidebar-left'>
<nav class='site-nav'>
<ul>

<li><a href="/singlem/Installation">Installation</a></li>


<li><a href="/singlem/Glossary">Glossary</a></li>


<li><a class="active" href="/singlem/FAQ">FAQ</a></li>


<li><a href="/singlem/tools">Usage</a></li>

<ul>

<li><a href="/singlem/tools/data">SingleM data</a></li>


<li><a href="/singlem/tools/pipe">SingleM pipe</a></li>


<li><a href="/singlem/tools/summarise">SingleM summarise</a></li>


<li><a href="/singlem/tools/renew">SingleM renew</a></li>


<li><a href="/singlem/tools/supplement">SingleM supplement</a></li>


<li><a href="/singlem/tools/microbial_fraction">SingleM microbial_fraction</a></li>


<li><a href="/singlem/tools/appraise">SingleM appraise</a></li>


</ul>



<li><a href="/singlem/advanced">Advanced modes</a></li>

<ul>

<li><a href="/singlem/advanced/query">SingleM query</a></li>


<li><a href="/singlem/advanced/makedb">SingleM makedb</a></li>


<li><a href="/singlem/advanced/condense">SingleM condense</a></li>


<li><a href="/singlem/advanced/seqs">SingleM seqs</a></li>


<li><a href="/singlem/advanced/create">SingleM create</a></li>


<li><a href="/singlem/advanced/metapackage">SingleM metapackage</a></li>


</ul>



</ul>
<span id='light-dark-mode-switch'>
<svg xmlns="http://www.w3.org/2000/svg" id="dark-mode-icon" viewBox="0 0 20 20" fill="currentColor">
<path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" />
</svg>

<svg xmlns="http://www.w3.org/2000/svg" id="light-mode-icon" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd" />
</svg>
</span>
</nav>

</div>
<div class='doctave-content'>
<h1 id="faq">FAQ</h1>
<h4 id="can-you-target-the-16s-rrna-gene-instead-of-the-default-set-of-single-copy-marker-genes-with-singlem?">Can you target the 16S rRNA gene instead of the default set of single copy marker genes with SingleM?</h4>
<p>Yes. By default, SingleM builds OTU tables from protein genes rather than 16S because this in general gives more strain-level resolution due to redundancy in the genetic code. If you are really keen on using 16S, then you can use SingleM with a 16S SingleM package (spkg). There is a <a href="https://github.com/wwood/singlem_extra_packages">repository of auxiliary packages</a> at which includes a 16S package that is suitable for this purpose. The resolution won't be as high taxonomically, and there are issues around copy number variation, but it could be useful to use 16S for various reasons e.g. linking it to an amplicon study or using the GreenGenes taxonomy. For now there's no 16S spkg that gets installed by default, you have to use the <code>--singlem-packages</code> flag in <code>pipe</code> mode pointing to a separately downloaded package - see <a href="https://github.com/wwood/singlem_extra_packages">https://github.com/wwood/singlem_extra_packages</a>. Searching for 16S reads is also much slower than searching for protein-encoding reads.</p>
<h4 id="how-should-singlem-be-run-on-multiple-samples?">How should SingleM be run on multiple samples?</h4>
<p>There are two ways. It is possible to specify multiple input files to the <code>singlem pipe</code> subcommand directly by space separating them. Alternatively <code>singlem pipe</code> can be run on each sample and OTU tables combined using <code>singlem summarise</code>. The results should be identical, though there are some performance trade-offs. For large numbers of metagenomes (&gt;100) it is probably preferable to run each sample individually in smaller groups.</p>
<p>Note that the performance of a single <code>pipe</code> when run on many genomes drastically improved in version 0.17.0, and it now sensible to run up to 10,000 genomes at a time.</p>
<h4 id="what-is-the-difference-between-the-num_hits-and-coverage-columns-in-the-otu-table-and-taxonomic-profiles-generated-by-the-pipe-mode?">What is the difference between the <code>num_hits</code> and <code>coverage</code> columns in the OTU table and taxonomic profiles generated by the pipe mode?</h4>
<p><code>num_hits</code> is the number of reads found from the sample in that OTU. The
<code>coverage</code> is the expected coverage of a genome with that OTU sequence i.e. the
average number of bases covering each position in a genome after read mapping.
This is calculated from <code>num_hits</code>. In particular, <code>num_hits</code> is the 'kmer
coverage' formula used by genome assembly programs, and so <code>coverage</code> is
calculated according to the following formula, adapted from the one given in
the Velvet assembler's
<a href="https://raw.githubusercontent.com/dzerbino/velvet/master/Manual.pdf">manual</a>:</p>
<pre><code>coverage = num_hits * L / (L - k + 1)
</code></pre>
<p>Where <code>L</code> is the length of a read and <code>k</code> is the length of the OTU sequence including inserts and gaps (usually <code>60</code> bp).</p>

</div>
<div class='sidebar-right'>
<div class='page-nav' id='page-nav'>
<p class='page-nav-header'>On this page</p>
<ul>

<li class='page-nav-level-1'>
<a href='#faq'>FAQ</a>
</li>

<li class='page-nav-level-4'>
<a href='#can-you-target-the-16s-rrna-gene-instead-of-the-default-set-of-single-copy-marker-genes-with-singlem?'>Can you target the 16S rRNA gene instead of the default set of single copy marker genes with SingleM?</a>
</li>

<li class='page-nav-level-4'>
<a href='#how-should-singlem-be-run-on-multiple-samples?'>How should SingleM be run on multiple samples?</a>
</li>

<li class='page-nav-level-4'>
<a href='#what-is-the-difference-between-the-num_hits-and-coverage-columns-in-the-otu-table-and-taxonomic-profiles-generated-by-the-pipe-mode?'>What is the difference between the num_hits and coverage columns in the OTU table and taxonomic profiles generated by the pipe mode?</a>
</li>

</ul>
</div>
</div>
<div class='wave-container'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill-opacity="0.35"
d="M0,192L60,213.3C120,235,240,277,360,277.3C480,277,600,235,720,192C840,149,960,107,1080,122.7C1200,139,1320,213,1380,250.7L1440,288L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z">
</path>
<path fill-opacity="0.5"
d="M0,160L60,181.3C120,203,240,245,360,229.3C480,213,600,139,720,138.7C840,139,960,213,1080,229.3C1200,245,1320,203,1380,181.3L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z">
</path>
<path fill-opacity="0.2"
d="M0,224L60,197.3C120,171,240,117,360,117.3C480,117,600,171,720,186.7C840,203,960,181,1080,186.7C1200,192,1320,224,1380,240L1440,256L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z">
</path>
</svg>
<p>Powered by <a href='https://cli.doctave.com' target='_blank'>Doctave</a></p>
</div>
</div>
</div>
<script type="text/javascript" src="/singlem/assets/katex.js?v=1716930286"></script>
<script type="text/javascript" src="/singlem/assets/mermaid.js?v=1716930286"></script>
<script type="text/javascript" src="/singlem/assets/elasticlunr.js?v=1716930286"></script>
<script type="text/javascript" src="/singlem/assets/prism.js?v=1716930286"></script>
<script type="text/javascript" src="/singlem/assets/doctave-app.js?v=1716930286"></script>


</body>

</html>
Loading

0 comments on commit 1719e4a

Please sign in to comment.