...
Code Block | ||||
---|---|---|---|---|
| ||||
# Count the total number of contigs: grep -c "^>" single_end/contigs.fa # Determine the length of the 5 largest contigs: grep "^>" single_end/contigs.fa | head -n 5 # Determine the length of the 20 smallest contigs: grep "^>" single_end/contigs.fa | tail -n 20 # Determine the length of the 100th through 110th contigs: grep "^>" single_end/contigs.fa | head -n 110 | tail -n 10 |
...