This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This snippet add the "self-documenting" feature to snakemake files. | |
# It is inspired by the Makefile in https://github.com/audreyr/cookiecutter-pypackage | |
# Add the follwing to your snakefile or include: "self_document.snake" | |
import re | |
def generate_help(sfile): | |
"""Parse out target and help message from file.""" | |
handler = open(sfile, "r") | |
for line in handler: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/biogo/hts/sam" | |
"io" | |
"os" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// Import the standard formatting library: | |
import "fmt" | |
// Import the os library - needed for opening files: | |
import "os" | |
// Import the io library - needed for checking for EOF: | |
import "io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/biogo/biogo/alphabet" | |
"github.com/biogo/biogo/io/seqio/fastq" | |
"github.com/biogo/biogo/seq/linear" | |
"io" | |
"os" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// Import libraries: | |
import ( | |
"github.com/biogo/biogo/alphabet" | |
"github.com/biogo/biogo/io/seqio/fasta" | |
"github.com/biogo/biogo/io/seqio/fastq" | |
"github.com/biogo/biogo/seq/linear" | |
"io" | |
"os" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// Import the standard formatting library: | |
import "fmt" | |
// Import the os library - needed for opening files: | |
import "os" | |
// Import the io library - needed for checking for EOF: | |
import "io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
//Import the required libraries: | |
import ( | |
"fmt" | |
"github.com/biogo/hts/bam" | |
"github.com/biogo/hts/sam" | |
"io" | |
"os" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
//Import the necessary libraries: | |
import ( | |
"fmt" | |
"github.com/biogo/biogo/io/featio/bed" | |
"io" | |
"os" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
//Import the required libraries: | |
import ( | |
"fmt" | |
"github.com/biogo/biogo/feat" | |
"github.com/biogo/biogo/io/featio/bed" | |
"github.com/biogo/hts/bam" | |
"github.com/biogo/hts/sam" | |
"io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SQ SN:156f2c40-af12-4246-b33e-5173efb619ae LN:3440 | |
@PG ID:minimap2 PN:minimap2 VN:2.5-r574-dirty CL:minimap2 -ax map-ont -k14 /home/OXFORDNANOLABS/bsipos/gt/pinfish/polish_clusters/pinfish_156f2c40-af12-4246-b33e-5173efb619ae_492532246/reference.fq /home/OXFORDNANOLABS/bsipos/gt/pinfish/polish_clusters/pinfish_156f2c40-af12-4246-b33e-5173efb619ae_492532246/reads.fq | |
8685e210-7cfa-40f1-b2b8-4bc5b6a89c26 0 156f2c40-af12-4246-b33e-5173efb619ae 2911 52 120S9M1I1M2D15M1D6M3D21M8D21M2I5M2I9M1I16M1D2M1I4M1D20M1I3M3D11M2D3M1D33M1D9M1I11M1D4M2D13M3D2M2D6M3I38M2I33M2D5M3D3M1D1M2D1M1D1M1D9M1D9M2I10M2D1M1D1M2D10M1I12M1I1M2I12M2I6M1D4M2I14M1I11M42S * 0 0 GATTAAGCGCAGTGTGGCACGTCATCGAGGAAGACAAATAACATTGGAAGAAAATCCTATCATCTTAACACCATCATCCATCCCAACCTACATCCTCAAAAAAAAGATTGTAGGCCGCGAATTACCCGCATGGCAATGGGTAGTTCTGCCGCGTGAACAAACCGCCATGAGTGCGGTCGGCGACCGGAGACAGCTGGCGACCAACGGCCTGGCCGAAGGCCTTAAGGCTACTCATCAGCCGACCGATCCATCAAGTGCACGGTCGTAACTTTGCGCAATAGTTGCGGCGCTATCTCCATCGCTGAGTCAAACGTATGGTCGTGGTGTTGTGCAAATCCCCATTCGGGACGCGAAGGTAAAGGTTTAACATGTTT |
OlderNewer