Hi, I found another bug(?) in your code:
during the process to sort the circRNA to output by junction reads count,
since there is no header in your circRNA_list_temp.txt file, so there is no need to add after you open the file, and that consequently makes the first circRNA in the file always lost.
Or you can simply sort -rnk7 circRNA_list_temp.txt >circRNA_list.txt to achieve your goal.
Hi, I found another bug(?) in your code: during the process to sort the circRNA to output by junction reads count, since there is no header in your circRNA_list_temp.txt file, so there is no need to add after you open the file, and that consequently makes the first circRNA in the file always lost.
Or you can simply sort -rnk7 circRNA_list_temp.txt >circRNA_list.txt to achieve your goal.