Skip to content

Commit

Permalink
show hidden control characters
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenturner committed Feb 14, 2016
1 parent eceb363 commit 85088df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ Take a fasta file with a bunch of short scaffolds, e.g., labeled `>Scaffold12345

samtools faidx genome.fa && grep -v Scaffold genome.fa.fai | cut -f1 | xargs -n1 samtools faidx genome.fa > genome.noscaffolds.fa

Display hidden control characters:

python -c "f = open('file.txt', 'r'); f.seek(0); file = f.readlines(); print file"

## find, xargs, and GNU parallel
[[back to top](#contents)]
Expand Down

0 comments on commit 85088df

Please sign in to comment.