Results for "Length"

Blogs

Bookmarks

Files

  • Randomness and Probability

    ...ty is a mapping from randomness to the real number between 0 and 1. The similar examples are that the entropy measures the uncertanity; product of length and width measures the area o...

    1628 days ago

  • Download blasr 1.3 version

    ...s/OPERA-LG_v2.0.6/bin//filter_conflicting_edge.pl pairedEdges_i0 contig_length.dat 100 2Illegal division by...ILE at bin/OPERA-long-read.pl line 250.rm anchor_contig_info.dat contig_length.dat filtered_edges.dat filter...

    2165 days ago

Pages

Top-level pages

Wire posts

  • perl -nle 'if (/^>/) { $sl = 0; print; next } next if ($sl >= 200); $_ = substr($_, 0, 200-$sl) if ($sl + length($_) > 200); $sl += length($_); print;' file.fa >new.fa #Perl #Extract #Fasta

    3635 days ago

  • Remove the blank space from a fasta file. perl -nlwe 'tr/ //d; print if length' fileName #Delete #Space #Fasta #Perl #Oneliner

    3635 days ago

  • +9 more Wire posts

News

Opportunity posts

Fun

Video

Bio-Scripts

Tags

  • Quick way to calculate length of multiple fasta file!!

    I am using this perl code right nowadays.#!/usr/bin/perl use warnings; use strict;open(FASTA, "<", seq.fa) or die("Can't open\n"); my %singleLineSequences; my $sequence_id; while(){ my $line = $_; chomp($line); if ($line =~ m/^>(\S+)/){ $sequence_id = $1; $s...

    Tags: Fasta, Size, Length, NGS, Sequence

    2880 days ago

  • Fasta sequence length: awk '/^>/ {if (seqlen){print seqlen}; print ;seqlen=0;next; } { seqlen += length($0)}END{print seqlen}' file.fa #Length #Linux #OneLiner

    Tags: Length, Linux, OneLiner

    2673 days ago

  • +4 more Tags

Comments