{"action":"created","issue":{"url":"https://api.github.com/repos/shenwei356/seqkit/issues/19","repository_url":"https://api.github.com/repos/shenwei356/seqkit","labels_url":"https://api.github.com/repos/shenwei356/seqkit/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/shenwei356/seqkit/issues/19/comments","events_url":"https://api.github.com/repos/shenwei356/seqkit/issues/19/events","html_url":"https://github.com/shenwei356/seqkit/issues/19","id":249457104,"number":19,"title":"Enhancement request","user":{"login":"ssvbio","id":12555651,"avatar_url":"https://avatars0.githubusercontent.com/u/12555651?v=4","gravatar_id":"","url":"https://api.github.com/users/ssvbio","html_url":"https://github.com/ssvbio","followers_url":"https://api.github.com/users/ssvbio/followers","following_url":"https://api.github.com/users/ssvbio/following{/other_user}","gists_url":"https://api.github.com/users/ssvbio/gists{/gist_id}","starred_url":"https://api.github.com/users/ssvbio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssvbio/subscriptions","organizations_url":"https://api.github.com/users/ssvbio/orgs","repos_url":"https://api.github.com/users/ssvbio/repos","events_url":"https://api.github.com/users/ssvbio/events{/privacy}","received_events_url":"https://api.github.com/users/ssvbio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-10T19:49:27Z","updated_at":"2017-08-11T07:33:05Z","closed_at":null,"body":"Thank you for a wonderful parsing tool. After much usage, I would like to request following features.\r\nPlease add\r\n\r\n- extract sequence by number (for fasta file). Use case: I would like to extract n th file\r\n- Tail function. Head function is already implemented. Tail function is missing\r\n- inverse selection for bases in a sequence. Current version allows user to select bases at the start, in the middle and at the end. It would be difficult for user to choose first few bases and last few bases. This would help user in removing sequences in the start and end of a read or a  long sequence\r\n- Allow user to search by stop codon *. Stop codon * is present in few of predicted sequences. Currently user cannot search by * in the sequences.  "},"comment":{"url":"https://api.github.com/repos/shenwei356/seqkit/issues/comments/321748038","html_url":"https://github.com/shenwei356/seqkit/issues/19#issuecomment-321748038","issue_url":"https://api.github.com/repos/shenwei356/seqkit/issues/19","id":321748038,"user":{"login":"ssvbio","id":12555651,"avatar_url":"https://avatars0.githubusercontent.com/u/12555651?v=4","gravatar_id":"","url":"https://api.github.com/users/ssvbio","html_url":"https://github.com/ssvbio","followers_url":"https://api.github.com/users/ssvbio/followers","following_url":"https://api.github.com/users/ssvbio/following{/other_user}","gists_url":"https://api.github.com/users/ssvbio/gists{/gist_id}","starred_url":"https://api.github.com/users/ssvbio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssvbio/subscriptions","organizations_url":"https://api.github.com/users/ssvbio/orgs","repos_url":"https://api.github.com/users/ssvbio/repos","events_url":"https://api.github.com/users/ssvbio/events{/privacy}","received_events_url":"https://api.github.com/users/ssvbio/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T07:33:04Z","updated_at":"2017-08-11T07:33:04Z","body":"1) Use case: I would like to extract every 4th sequence from fasta file or every 4th and 6th file either from the top or bottom of fasta file.\r\n\r\n2) There is a head function like this: seqkit head -n 1 hairpin.fa.gz. I would like similar tail function.  \r\n3) use case: https://www.biostars.org/p/263861/\r\n4) I tried it on following fasta file and didn't work.  seqkit grep -r -p '\\*' test.fa gives me blank lines\r\n\r\n$ cat test.fa \r\n>p1\r\nACDLA\r\n>p2\r\nADCGLAGCTYLAKQ*\r\n>P3\r\nGTCTY*ATCG\r\n>P4\r\n*GAP\r\n>P5\r\nAGATE\r\n"}}
{"actor":{"display_login":"ssvbio"}}