Results for "Print"

Wire posts

  • perl -e '$/="\n>"; while (<>) { s/>//g; my ($id, $seq) = split /\n/; print ">$_" if length $seq; }' < all_p_ctg.fasta > all_p_ctg_corrected.fasta #Convert #Fasta #Zero

    2153 days ago

  • perl -pe '/^>/ ? print "\n" : chomp' LR.fasta | tail -n +2 > out.fasta #singleLine #Multifasta #Multi2Single

    2110 days ago

  • Multi-line fasta to single line fasta $ perl -pe '/^>/ ? print "\n" : chomp' in.fasta | tail -n +2 > out.fasta #Multiline #Singleline #Fasta

    2083 days ago

  • Tab file to FASTA file $ awk '{print ">"$1"\n"$2}' allSeq_tm.txt > allSeq_tm.fa #Fasta #Tab #Convert #Tab2Fasta

    2036 days ago

  • Rename the fasta header perl -ane 'if(/\>/){$a++;print ">LR$a\n"}else{print;}' allPacBio_clean.fa > allPacBio_clean_shortName.fa #fasta #header #rename

    2025 days ago

  • print_fs("~/flowchart/", depth = 4) #Print #FileStructure

    1981 days ago

  • Split a multi-FASTA file into individual FASTA files: awk '/^>/{s=++d".fa"} {print > s}' multi.fa #split #multifasta

    1951 days ago

  • Extract fasta with pattern $ perl -n -e '$on=(/^>(A)/) if (/^>/); print $_ if ($on);' pilonCor_round1.fasta > A_set.fa #Pattern #Extract #Fasta

    1924 days ago

  • Get the secondary hists reads count from SAM awk '{ print $2 }' out.sam| grep "2048" | wc -l #SAM #BAM #Secondary #Hits

    1851 days ago

  • #Rename the #fasta #header and #keep first $ perl -ne 'if (/^(>\S+)/){print "$1\n";}else{print $_;}' realTestDATA.fa > realTestDATA_headerCorrected.fa #Perl

    1646 days ago